Daniel Aquino wrote:
> Does anyone know actually know where the:
> "Mail::SpamAssassin::Plugin::RelayCountry"
> module is actually ran ?
>
> I dont see anything in /usr/share/spamassassin/* that is doing it...
There are no default rules that make use of it.

By default, only the bayes subsystem uses it, treating the relayed
countries as additional bayes tokens.

If you want to do some country-based scoring, you can add some of your
own rules such as these:

header RELAY_CN X-Relay-Countries=~/\bCN\b/
describe RELAY_CN       Relayed through china
score RELAY_CN 1.0


header RELAY_KR X-Relay-Countries=~/\bKR\b/
describe RELAY_KR       Relayed through Korea
score RELAY_KR 1.0

But remember, keep your scoring light. This will pick up *ALL* countries
the mail was relayed through, so it WILL hit mailing list posts by
foreign senders. There's a *LOT* of mailing list traffic from countries
you wouldn't expect.







Reply via email to