Hi,

* Jean-Pierre Radley <[email protected]>, 2011-01-28 16:57:13 Fri:
> I have a situation where some scripts run by root's crontab send
> messages to certain users.  The scripts also save a copy of each sent
> message in the mailbox /Mail/SAVE. [...]

I would suggest saving to /Mail/SAVE-$(date +%Y-%m) instead.

> It would be nice to automate the maintenance, so: could a script (also
> run by cron) manage a mailbox by pruning messages older than some
> <number> of days, or by deleting all but the last <number> of messages?

That sounds like a job for archivemail:

    http://archivemail.sourceforge.net/

-- 
Hope this helps,
David Haguenauer

Attachment: pgpgJkiQc87oR.pgp
Description: PGP signature

Reply via email to