auto purging users 'spambox'

Craig White craigwhite at azapple.com
Tue Apr 4 10:59:17 EDT 2006


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.

Craig



More information about the Info-cyrus mailing list