Procmail subject line filtering for more then word

Lovell Mcilwain lovell.mcilwain at gmail.com
Tue Feb 7 22:37:45 UTC 2006


Hello all,

Can anyone tell me how I can get procmail to filter on a full subject 
line instead of just one word of the subject line?

Every FAQ and man page I went to only shows an example of filtering a 
subject line with one word.  I need to be able to do more then one.

Here is a current example of what I have in my .procmailrc file:

:0:
* ^Subject:.*Automated Bug Report
"$HOME/Database Messages"

:0:
* ^Subject:.*Automated Bug Report*
"$HOME/Database Messages"

I have tried the following:

:0:
* ^Subject:.*Automated *Bug *Report*
"$HOME/Database Messages"

:0:
* ^Subject:.*Automated/Bug/Report*
"$HOME/Database Messages"

:0:
* ^Subject:.*Automated+Bug+Report*
"$HOME/Database Messages"

Any help is appreciated.

L
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060207/779792fb/attachment-0001.htm>


More information about the fedora-list mailing list