Sounds like dbmail-user -e is indeed what you're looking for.

On Fri, 2009-01-30 at 12:07 -0800, Carlos Hanson wrote:
> Not really a disable email. More of a clear out all records of this
> account in the database as if they never had email. I haven't looked
> at the code for deleting an account, but my expectation is that is
> part of the deletion. Since I don't want to delete the LDAP account,
> that option doesn't work for me.
> 
> The disable email is a good idea though in addition to the delete all
> mailboxes. There may be times when you want to disable an account
> temporarily, or perhaps permanently without the desire to purge all
> email and mailboxes.
> 
> 
> On Fri, Jan 30, 2009 at 11:42 AM, Aaron Stone <aa...@serendipity.cx> wrote:
> > Without getting into the implementation details, it sounds like you want a
> > "disable email for this user" option?
> >
> > Aaron
> >
> >
> > On Fri, 30 Jan 2009 11:26:24 -0800, Carlos Hanson <carlos.han...@gmail.com>
> > wrote:
> >> Greetings,
> >>
> >> I am testing DBMail as a replacement to our Postfix maildir setup. All
> >> our accounts live in Active Directory, and I can successfully
> >> authenticate to AD to check mail.
> >>
> >> Because our current setup is on the file system, if I want to delete a
> >> user's mailbox, I delete their home directory on the mail server. I do
> >> not want to delete their AD account, since we manage our those
> >> accounts with other tools. dbmail-users allows me to "empty all
> >> mailboxes for a user" with the -e flag, but I don't see an option to
> >> delete one or all mailboxes without having to delete the AD account.
> >>
> >> Has anyone else come across this situation or something similar? Do I
> >> just need to deal with the database directly? Maybe I just need to
> >> modify dbmail-users to add a check to see if I want to delete the AD
> >> account.
> >>
> >> I'll take any suggestions before I dig into the code.
> >>
> >> Thanks.
> > _______________________________________________
> > DBmail mailing list
> > DBmail@dbmail.org
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
> 
> 
> 

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to