procmail
[Top] [All Lists]

new user: what am I doing wrong with this recipe?

2002-09-15 19:59:49
Hi.

I am trying to send all non-Japanese mail to a spam filtering program called
spamassassin for processing. Unfortunately, there is not just one test that
allows me to do this. I need OR logic before the recipe decides to send it
to spamassasin.

Here's what I am trying to cook up, but it is not working.

:0
* B ?? !^[\$B | !2022-jp | B ?? !EUC-JP
{
    :0fw
    |/usr/local/bin/spamassassin -P
}

What I am trying to do is find all conditions that would make a message
determined "Japanese" and add these to a long "if this or that or the other
etc. statement.

The above recipe will not pass any mail to spamassassin, regardless of the
absence of triggers that would keep it from going to the program.

I looked at the FAQs and it says the OR condition syntax is:

:0
* condition1 | condition2 | condition3
Do Something Here

But, this isn't working. What am I doing wrong?

Bill

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail