Re: how to disable selected mailboxes ?

From: Eric Estabrooks (no email)
Date: Tue Mar 07 2006 - 22:46:51 EST

  • Next message: Michael Menge: "Re: Migrate message flags to cyrus"

    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



    ----
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    


  • Next message: Michael Menge: "Re: Migrate message flags to cyrus"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD