procmail
[Top] [All Lists]

Re: Deleting selective message already in a mailbox

2002-04-06 08:46:43
Mike Loiterman asked,

| What I'd like to do:
| Have procmail deliver the mail to my mailbox, then after say a few
| hours, grep the mail box for and delete any mails in the mailbox
| containg the header "List ID:.." without disturbing the regular mail.
|
| I thought I might be able to use Mutt to do this, but I wasn't able
| to figure out how.  Is such a thing possible with procmail?  Is such
| a thing possible at all?  Thanks.

It's possible with a cron job, and something very similar is detailed near
the end of the procmail(1) man page (about running procmail on a spool of
mail already received).  The one concern I have is that you'd need a way to
check whether your local machine had logged in and fetched a given message
and not delete any that you hadn't downloaded.





_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>