procmail
[Top] [All Lists]

Re: Matching a word on Subject or Body

2009-05-11 14:32:00
On 11-May-2009, at 12:21, Dallman Ross wrote:
On Mon, May 11, 2009 at 11:02:15AM -0600, LuKreme wrote:
Something more like

:0:
* 9876543210^0 ^Subject:*word*
* 9876543210^0 B ?? ^^word
mbox

You're making a few of the same mistakes he did.

Which is why I said "something like". I was working in the shell when I was replying and thinking globbing, not regex.

Also, it would be nice to test your suggestions.  When I have
time, I do so.  When I don't have time, I state that I did not.

I not only said "something like", but also made a point of adding an else to catch mail that didn't match and save it off, AND told the OP to make sure it was working.

:0:
* 9876543210^0 ^Subject:.*word
* 9876543210^0 B ?? ^^word
mbox


--
They say only the good die young. If it works the other way too
        I'm immortal

____________________________________________________________
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>