At 00:48 2002-03-27 +0700, Tim Rice wrote:
In your message regarding Exiting from Procmail after each recipe dated
Rhetorical Q, but why repeat the subject in the quote attribution?
Tue, 26 Mar 2002 00:20:27 -0500, S. Morgan Friedman said that ...
[snip - whole message]
> identifying it as spam then place them in the default mailbox. I can do
^^^^^^^^^^^^^^^^^^^^^^^
To which Tim suggested:
:0fh
* ^Subject:.*(viagra|loan approval)
| formail -I "X-Category: Spam"
:0A:
spam
Almost. To actually do what Mr. Friedman was asking for, the second recipe
should be:
:0A:
$DEFAULT
OR, the first recipe could be rewritten:
:0:
* ^Subject:.*(viagra|loan approval)
| formail -I "X-Category: Spam" >> $DEFAULT
(which is similar to how I tag mailboxes with a mailbox ID before
depositing a COPY into the original mailspool to be picked up by my
POP/IMAP client which then simply filters on that one concise identifier).
---
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(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail