Re: How to igore subject

Alan Clifford <[email protected]>
Newsgroups gmane.mail.procmail
Organization http://rp.clifford.org.uk/potpourri/
Message-ID <[email protected]>
On Tue, 30 Nov 2010, Emmanuel Buamah wrote:

>
> Hi,
>
> I have this:
>
> :0H
> * ^To.*[email protected]
> | /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.*support@dot\.com\.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. )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.