Ticket #395 (closed enhancement: invalid)

Opened 4 years ago

Last modified 2 years ago

cleanup removed accounts

Reported by: jesse@… Owned by: rjl
Priority: normal Milestone: 1.1.0
Component: Perl scripts Version:
Severity: normal Keywords:
Cc:

Description (last modified by rjl) (diff)

It would be nice to have a command-line interface to clean up old

accounts; the new maiadbtool would do nicely.

Eg.: We use pop3 authentication. If we delete bob@… from the mail server, all his old settings/info is still in maia; we then create a new bob@… for a new customer, and he has the info (potentially even cached messages) from the previous user.

Change History

Changed 4 years ago by anonymous

  • type changed from defect to enhancement
  • component changed from General to Perl scripts
  • milestone set to 1.1.0

Changed 4 years ago by anonymous

Are you reporting a bug with maiadbtool.pl, or are you just speculating

about how it might work? What you're asking for should already be provided in maiadbtool.pl, as well as within the PHP scripts that power the Admin->Users->Delete User feature. When an email address is deleted, a check is done to see whether the former owner of that address has any remaining email addresses. If that address was the last one associated with the owner's user record, then the user record itself is deleted, along with all database references to that user record--which means all stored mail, whitelists/blacklists, and so on. It's a very thorough and complete process, and it's supposed to work right now. Unless you're reporting that this isn't working as advertised, this ticket can be closed.

Changed 4 years ago by anonymous

Sorry, this was a request, not bug report, and I imagine it works fine.

I'm running 1.0.0 and found that feature missing, searched the bug tracker for it and found nothing, so put the request in. I'll look at grabbing maiadbtool from 1.0.2 (can it run against a 1.0.0 database?) and try it.

Changed 2 years ago by rjl

  • status changed from new to closed
  • resolution set to invalid
  • description modified (diff)
Note: See TracTickets for help on using tickets.