delprune on a single mailbox

Marcus Schopen lists at localguru.de
Sun Nov 1 08:40:16 EST 2015


Am Sonntag, den 01.11.2015, 13:35 +0100 schrieb Marcus Schopen via
Info-cyrus:
> Hi,
> 
> globally in cyrus.conf delprune is set to
> 
> delprune	cmd="/usr/sbin/cyrus expire -E 1 -X 7 -D 7" at=0501
> 
> For a single mailbox I don't want to keep deleted mails for 7 days, but
> expire them immediately or once a day per cron. How to do that?


Forogt to say that delete_mode and expunge_mode is set to delayed. Via
cron this should work for an immediate cleanup/expire:

su - cyrus -c "/usr/sbin/cyrus expire -E 1 -X 0 -D 0 -v -p
user.mailboxname"

su - cyrus -c "/usr/sbin/cyrus expire -E 1 -X 0 -D 0 -v -p
DELETED.user.mailboxname" 

Is it possible to set it by ACL on a single mailbox?

Ciao!





More information about the Info-cyrus mailing list