* Philip Mak ([EMAIL PROTECTED]) wrote:
> Does anyone know of a program that I can set as a cron job to go
> through an mbox file, and delete all messages that are from a mailing
> list and are 21 days old?
I'm planning a generic mail archiving tool that will allow this, as
well as moving messag
On Tue, Feb 19, 2002 at 03:59:35PM -0500, Philip Mak wrote:
> Does anyone know of a program that I can set as a cron job to go
> through an mbox file, and delete all messages that are from a mailing
> list and are 21 days old?
You will not believe it - it's mutt! Example (from my .muttrc):
set sc
On 2002.02.19, in <[EMAIL PROTECTED]>,
"Justin R. Miller" <[EMAIL PROTECTED]> wrote:
>
> If not, I'd just use a Mutt call with -f and push in a delete pattern to
> clear out the old stuff.
This won't work from a crontab, though. When mutt has no terminal, it
ignores -e actions and acts
Quoting Philip Mak <[EMAIL PROTECTED]> [19 Feb-02 15:59]:
> Does anyone know of a program that I can set as a cron job to
> go through an mbox file, and delete all messages that are from
> a mailing list and are 21 days old?
Here is what I do:
folder-hook . push 'D~r>15d!~F\n'
This deletes eve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Said Philip Mak on Tue, Feb 19, 2002 at 03:59:35PM -0500:
> Does anyone know of a program that I can set as a cron job to go
> through an mbox file, and delete all messages that are from a mailing
> list and are 21 days old?
If you have IMAP access
Does anyone know of a program that I can set as a cron job to go
through an mbox file, and delete all messages that are from a mailing
list and are 21 days old?