Hi.

I am using Spamassassin 3.3.1 (latest CentOS release) and Amavis 2.8 (also
latest CentOS release).

I am using TextCat to add headers to our mails to see which language they
are. This works fine.
But now I want to write a SA rule to match a certain language. I tried to
check for the X-Spam-Languages header that TextCat adds, but the header is
never there when I check from inside a SA rule.

Is there a possibility to have a rule trigger only for certain languages?
I know about ok_languages but this does not help me here, as I want to
receive all language mails, but I want to run a few rules on specific
languages. Basically I want to use some strong rules for mails in specific
languages because we for example tend to get a lot of italian spam but I
can't block all italian mails. Like for example scoring FREEMAIL_FROM
higher and stuff like that.

kind regards,
Toni Schornboeck

Reply via email to