Confused about Deleted and Expunged

Sebastian Hagedorn Hagedorn at uni-koeln.de
Fri Jan 17 04:24:09 EST 2020


Hi,

Am 17.01.20 um 09:52 Uhr schrieb Horst Häberlen:
> 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??

does it really say "/usr/sbin/cyrus expire" in your cyrus.conf? That
can't work. The command is named cyr_expire on my system, and it
definitely does not have a space in its name.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Hagedorn.vcf
Type: text/x-vcard
Size: 333 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20200117/6ef48374/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5367 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20200117/6ef48374/attachment.p7s>


More information about the Info-cyrus mailing list