From: Lawrence Greenfield (leg plus at andrew dot cmu dot edu)
Date: Wed Sep 05 2001 - 15:57:13 EDT
Date: Wed, 05 Sep 2001 20:36:09 +0100
From: Nicholas Brealey <>
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?
It was probably initially intended to purge shared folders, and this
statement was intended as a last ditch sanity check before an admin
did something they regret.
I'd recommend adding a '-f' option (force) to skip this check, and
send cyrus-bugs a patch and we'll commit it.
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.
Basically, the reasoning behind EVENTs instead of crontab is that it
simplifies the installation instructions and makes it harder to make a
subtle error.
There's no reason you can't do them in crontab, though you don't want
these things running if recovery is currently running.
Larry
|
|
|