> As to disabling accounts, do you wish to block user access, or disable 
> mail delivery, or both? For the former I use the UNIX tactic of changing 
> the password string to !! and set the type to crypt.

Right, except that if you're managing a system with many users, you
don't wanna be resetting passwords, just disable the account.

Attached patch, is one way of doing so. Rewuires two new fields to be
added to the dbmail_users table: webenabled, and popenabled, both
boolean.

webenabled allows pop/imap access from localhost, while popenabled
allows access from everywhere. if webenabled is false, no access at all.

Note that mail is still delivered. To change that behaviour, change the
source :)

> 
> dbmail_acl is the table that holds the IMAP ACLs. Refer to RFC 2086: 
> http://www.faqs.org/rfcs/rfc2086.html

Kind Regards,

John

Attachment: 09_webmail.dpatch
Description: application/shellscript

Reply via email to