Confused about Deleted and Expunged

Horst Häberlen hh at promedia-sds.de
Fri Jan 17 03:52:03 EST 2020


Hi,

my Mail Server stores spam mail via spamassassin in users (user/test at testdomain.tld) spam
mailboxes (user/test/spam at testdomain.tld)

For removing too old spam mails, i do use a script on all mailboxes which marks the spam
mailboxes as deleted:
/usr/lib/cyrus/bin/ipurge -f -X -d 100 user/test/spam at testdomain.tld

This works perfect, the user can see spam mails for 100 days.

I assumed the following cyrus.conf event does Expunge the deleted mails from hdd:
[...]

EVENTS {
   expungeprune   cmd="/usr/sbin/cyrus expire -E 4 -D 28 -X 28" at=0445

[...]

But this does not work.

How can i 'really' delete from hdd??

thanks for your help
Horst

-- 
Horst Häberlen
Kirchenstr. 16
74639 Zweiflingen


More information about the Info-cyrus mailing list