Hello
I have been looking at ipurge(8) for deleting e-mail older than a
certain
number of days from users INBOXes.
1) The purge_me function ipurge.c contains the statement:
/* DON'T purge INBOX* and user.* */
if ((strncasecmp(name,"INBOX",5)==0) ||
(strncasecmp(name,"user.",5)==0))
return 0;
Since all mailbox names are likely to start with "user." doesn't this
stop ipurge from ever doing anything useful?
I deleted the statement and ipurge and I think it started doing what
I wanted it to do, namely:
ipurge -d 30 user.fred user.fred.Sent user.alice user.alice.Sent ...
(Delete essages over 30 days old in fred and alice's INBOXes and Sent
folders but keep messages which they have filed in other folders).
2) Is there any reason to use EVENTs in cyrus.conf instead of using
crontab? crontab looks better beacuse I can say that I want messages
purged at 3:00am on Sunday mornings but with EVENTs in Cyrus I can only
say that they should be purged once a week and they may end up
being purged and an inconvenient time.
Regards
Nick