On Sep 19, Per Foreby wrote:
On Wed, 19 Sep 2007, John Kelly wrote:
Nightly, I purge all INBOX messages older than 40 days, other folders 120 days. That keeps a clean house.
That's really tough! My users would hang me if I deleted anything.
INBOX messages not read in 40 days will probably never be read. Folder messages not handled in 120 days will probably never be handled. My retention policy is configurable per user, per folder, for any who feel strongly otherwise. But even then, I extend the limits only so far. If people want to archive their mail forever, there's always gmail.
IMO, it's a bad idea to archive mail at any public provider. It's an open invitation to government snooping. The CIA, the FBI, the IRS, and the NSA can NYA.
NYA? Think about it ...
I do however have a cron job to clean the Trash (using the small script included below).
My purge program is called once for each mailbox, like mailutil in your script. I've thought of having it read a list of mailboxes on stdin, to avoid spawning a new pid for each mailbox. Maybe someday I'll get around to that ...
_______________________________________________ Imap-uw mailing list Imap-uw@u.washington.edu https://mailman1.u.washington.edu/mailman/listinfo/imap-uw