procmail
[Top] [All Lists]

How can I put more than one word in the VARIABLE ?

2002-05-24 06:24:14
The below recipe does not work. I believe this is because the VARIABLE will not 
pass the three words to the VARIABLE and so the condition is not met. Can 
anyone tell me how to put more than one word into a varable. The below method I 
think uses the same single and double quotes that would make grep work in a 
shell work but not proc.rc file.

Thank you 

AAA='one two three'
BBB='black white green'

:0
* ^SUBJECT:.*"$AAA"

{
:0 B:
* .*"$BBB"
${TESTDIR}/Proctest.mail

}


________________________________________________________
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