procmail
[Top] [All Lists]

Re: How to igore subject

2010-11-30 07:57:47
On Tue, 30 Nov 2010, Emmanuel Buamah wrote:


Hi,

I have this:

:0H
* ^To(_dot_)*support(_at_)dot(_dot_)com(_dot_)gh
| /usr/bin/mail_filter

which runs a program. But I want to add some thing to it so that, if the subject contain a particular string, the program shouldn't be run. How do I do that?

Thanks



I'd try

:0
* ^To(_dot_)*support(_at_)dot\(_dot_)com\(_dot_)gh
* ! ^subject:.*the rain in spain
| /usr/bin/mail_filter

but I'm a bit rusty with my procmail so you need to check carefully and understand why.


--
Alan

(  Please address personal email to alan+1@ as email to lists@
   is only read from my subscribed lists. )

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