Re: auto purging users 'spambox'

From: Ken Murchison (no email)
Date: Tue Apr 04 2006 - 11:35:21 EDT

  • Next message: Ken Murchison: "Re: murder config"

    Craig White wrote:
    > On Tue, 2006-04-04 at 10:49 -0400, Ken Murchison wrote:
    >> Craig White wrote:
    >>> I've not gotten it to work from cyrus.conf so I am trying it from the
    >>> command line and I can't seem to find the right string to identify.
    >>>
    >>> for example, my path would be
    >>>
    >>> /var/spool/imap/c/user/craig/SPAMBOX
    >>>
    >>> but none of these work...
    >>>
    >>> su - cyrus -c '/usr/lib/cyrus-imapd/ipurge -f -d 7 user/*/SPAMBOX'
    >>> su - cyrus -c '/usr/lib/cyrus-imapd/ipurge -f -d 7 user/SPAMBOX'
    >>> su - cyrus -c '/usr/lib/cyrus-imapd/ipurge -f -d 7 */SPAMBOX'
    >>>
    >>> What's the magic here?
    >> What version of Cyrus? You might be better served to set the
    >> '/vendor/cmu/cyrus-imapd/expire' mailbox annotation and use cyr_expire(8).
    > ----
    > from Simon...
    >
    > # rpm -q cyrus-imapd
    > cyrus-imapd-2.2.12-3.RHEL4.1
    >
    > off list some suggested user.*.SPAMBOX which indeed worked but I don't
    > understand the difference between purge and expire I guess.

    ipurge is older can delete messages based on date and/or size.

    expire is newer and can only delete messages based on date, but also
    removes the deliver.db entries (for expiring Netnews articles). It is
    also used for deleting "expunged but not yet removed" messages when
    using delayed expunge.

    -- 
    Kenneth Murchison
    Systems Programmer
    Project Cyrus Developer/Maintainer
    Carnegie Mellon University
    ----
    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: Ken Murchison: "Re: murder config"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD