how to disable selected mailboxes ?
Eric Estabrooks
eric at urbanrage.com
Tue Mar 7 22:46:51 EST 2006
J Desrochers wrote:
> Hello,
>
> We are currently using Cyrus 2.2.12 on RHEL4.1 for a couple of weeks.
> Now i need to temporarily DISABLE some active mailboxes. by disabling
> i mean,
> server must reject mail coming to this mailbox and i must prevent user
> from
> accessing is own mailbox.
>
> Is there a way i can disable some accounts (without loosing data) and
> then re-enable selected accounts (imap commands?)
I do this via sql. The accounts have an extra flag that just toggles
enable/disable, which is used as part of the sql query. Both the smtp
server and the cyrus imap client then check the flag when doing valid
account checks. It makes it real easy to turn off an account but leave
all its data intact for easy re-enabling later.
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3174 bytes
Desc: S/MIME Cryptographic Signature
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20060307/f0a1a4f8/smime.bin
More information about the Info-cyrus
mailing list