procmail
[Top] [All Lists]

Re: filter read mails

2005-05-18 11:36:22
At 06:02 PM 5/18/2005 +0200, Dallman Ross did say:
> How can I tell my above mentioned script to skip all mail that have a
> "Status: R" line?

You might be reinventing the wheel.  Have you tried the "frm" program
that's probably on your machine?  It can show old, new, unread, etc.,
easily.

 6:01pm [~/Mail] 664[1]> frm -vtn procmail

Well, possibly more correctly to the inquiry:

        frm -vtns new

Where 'new' is an argument to the 's' option, specifying NEW messages.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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