procmail
[Top] [All Lists]

whole word recipe

2002-05-26 16:42:06
I have the following recipe where one line doesnt
seem to work.

:0
* ^From.*(@hotmail.com|@msn.com)
{
        :0
        * ^Subject:.*WEIGHT
                {
                :0 B:
->prolem line?  * .*\<HUNZA\>.*\<BREAD\>
                IN-Bread
                }

        :0
        * ^Subject:.*ONLINE MEDS!
                {
                :0 B:
                * .*(\<OPT OUT\>|\<OPT-OUT\>)
                IN-xyz
                }

:0:
        * ^Subject:.*\<TOP\>.*RATED.*SEX
        $HEALTH


}
######## Below is the line that seems to have the
the problem with the error messages from mailstat
I want to find these two words anywhere in the 
document. I have played with this for some time,
and it seems so times it works but only if the context
is XXXX hunza xxxx bread, but never if the two words 
are togethr eg Hunza Bread. What am I missing?
I have tried it with and without .*

* .*\<HUNZA\>.*\<BREAD\>


0       1  ## procmail: Extraneous locallockfile ignored
0       1  ## procmail: Locking "/var/spool/mail/steve.lock"
0       1  ## procmail: Match on "^From.*(@hotmail.com|@msn.com)"
      0       1  ## procmail: Match on "^Subject:.*WEIGHT"
      0       2  ## procmail: Missing action



________________________________________________________
Outgrown your current e-mail service?
Get a 25MB Inbox, POP3 Access, No Ads and No Taglines with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>