procmail
[Top] [All Lists]

formail failure

2004-04-22 01:25:31
Hello,

Really strange problem from my point of view. Maybe someone here can help me. I have the following recipes in my /etc/procmailrc

:0 Wc
* < 256000
* ! ^X-Razor2-Status: Spam
| razor-check -home=/var/spool/spam

:0 a
{
    :0 Wf
    * ^Subject:\/.*
    | formail -A "X-Razor2-Status: Spam" -i "Subject: {SPAM}$MATCH"

    :0 WEf
    | formail -A "X-Razor2-Status: Spam" -i "Subject: {SPAM}"
}

:0 c
* ^X-Razor2-Status: Spam
/var/log/SPAM-RZ

They work fine but if I replace "{" and "}" respectively with "[" and "]" I get "Error while writing to "formail -A "X-Razor2-Status: Spam" -i "Subject: [SPAM]$MATCH"". I thought "[" and "]" are invalid but the following recipes work as well:

:0 Wf
* ^TO_wrath(_at_)geo\(_dot_)net\(_dot_)ge
| formail -A "X-WRATH: OK" -i "Subject: [WRATH]"

Can anyone tell me what I missed?

Thanks in advance,
--
George Chelidze




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