Opened 13 years ago

Closed 12 years ago

#395 closed enhancement (invalid)

cleanup removed accounts

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

Description

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 (4)

comment:1 Changed 13 years ago by anonymous

  • Component changed from General to Perl scripts
  • Milestone set to 1.1.0
  • Type changed from defect to enhancement

comment:2 Changed 13 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.

comment:3 Changed 13 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.

comment:4 Changed 12 years ago by rjl

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.