auto purging users 'spambox'

Andreas Hasenack ahasenack at terra.com.br
Tue Apr 4 12:40:50 EDT 2006


On Tue, Apr 04, 2006 at 10:49:50AM -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).

I always found these terms to be very confusing in the IMAP world:
purge, expunge, delete, expire. Regarding the ipurge and cyr_expire
utilities, they do the same thing, right? Which is delete the message
from the user's mailbox.




More information about the Info-cyrus mailing list