Cyrus-3.0 getting rid of old message files
James B. Byrne
byrnejb at harte-lyne.ca
Wed Oct 9 11:41:49 EDT 2019
What does one do to permanently remove from the file system old
messages. In cyrus.conf I have this:
postmaster cmd="ipurge -X -f -d 8 user/postmaster/delivery" at=0420
delprune cmd="cyr_expire -D 180d -E 3d -X 180d" at=0400
cyradm info shows this:
info
{Server Wide}
private:
admin: NIL
comment: NIL
expire: NIL
squat: NIL
usercounters: 0 0 0 0 0 0 0 0 0 0 0
usermodseq: 0
shared:
admin: NIL
comment: NIL
motd: NIL
expire: NIL
freespace: 68182048
most: 68182048;192015872
total: 68182048;192015872
shutdown: NIL
squat: NIL
When I go to the user mailbox
(/var/spool/imap/p/user/postmaster/delivery) I see messages from
December 2018 and earlier.
When I check the maillog I see this:
# grep cyr_expire /var/log/maillog | grep postmaster
Oct 9 05:46:14 inet17 CYRUS/cyr_expire[21667]: mailbox: longlock
user.postmaster.investigate for 2.3 seconds
Oct 9 05:46:16 inet17 CYRUS/cyr_expire[21667]: mailbox: longlock
user.postmaster.mailinglists for 1.2 seconds
Oct 9 05:46:19 inet17 CYRUS/cyr_expire[21667]: mailbox: longlock
user.postmaster.spamno for 1.3 seconds
What I do not see is anything being expunged for the postmaster.
cyr_expire is running as I see this in the maillog:
inet17 CYRUS/cyr_expire[21667]: Expired 0 and expunged 2055 out of
744420 messages from 2500 mailboxes
I want messages that are deleted and that are older than 180 days gone
from the file system entirely. I would like to know why is this not
happening? And, I would like to know how do I make it happen? What
setting or settings am I missing?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the Info-cyrus
mailing list