auto purging users 'spambox'

Ken Murchison murch at andrew.cmu.edu
Tue Apr 4 10:49:50 EDT 2006


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).

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Info-cyrus mailing list