You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Kaleb Hosie <kh...@spectraaluminum.com> on 2010/03/26 14:50:49 UTC

Relay Country on SA 3.3.1

Before I upgraded to 3.3.1 I had the relay country ruleset installed and enabled. In my local.cf file, here's a few lines I have:

header RELAYCOUNTRY_CN X-relay-countries =~ /CN/
describe RELAYCOUNTRY_CN Relayed through China
score RELAYCOUNTRY_CN 5

add_header all Relay-Country _RELAYCOUNTRY_


If I add this to my local.cf file for 3.3.1 then here's what I get in my message headers:

X-Spam-Relay-Country: _RELAYCOUNTRY_

Can I get this working again with the latest version of SpamAssassin?

Re: Relay Country on SA 3.3.1

Posted by jdow <jd...@earthlink.net>.
----- Original Message ----- 
From: "Daniel Lemke" <le...@jam-software.com>
To: <us...@spamassassin.apache.org>
Sent: Friday, 2010/March/26 06:59
Subject: Re: Relay Country on SA 3.3.1




Kaleb Hosie wrote:
>
> Before I upgraded to 3.3.1 I had the relay country ruleset installed and
> enabled. In my local.cf file, here's a few lines I have:
>
> header RELAYCOUNTRY_CN X-relay-countries =~ /CN/
> describe RELAYCOUNTRY_CN Relayed through China
> score RELAYCOUNTRY_CN 5
>
> add_header all Relay-Country _RELAYCOUNTRY_
>
>
> If I add this to my local.cf file for 3.3.1 then here's what I get in my
> message headers:
>
> X-Spam-Relay-Country: _RELAYCOUNTRY_
>
> Can I get this working again with the latest version of SpamAssassin?
>
>


Maybe you've overwridden your init.pre? There's an entry for Relaycountry in
it:

jdow<< Just maybe he should look at what add_header does. The relay
score should appear. But EVERY message SHOULD have the
"X-Spam-Relay-Country: _RELAYCOUNTRY_" header he asked about.

{o.o}


Re: Relay Country on SA 3.3.1

Posted by Daniel Lemke <le...@jam-software.com>.

Kaleb Hosie wrote:
> 
> Before I upgraded to 3.3.1 I had the relay country ruleset installed and
> enabled. In my local.cf file, here's a few lines I have:
> 
> header RELAYCOUNTRY_CN X-relay-countries =~ /CN/
> describe RELAYCOUNTRY_CN Relayed through China
> score RELAYCOUNTRY_CN 5
> 
> add_header all Relay-Country _RELAYCOUNTRY_
> 
> 
> If I add this to my local.cf file for 3.3.1 then here's what I get in my
> message headers:
> 
> X-Spam-Relay-Country: _RELAYCOUNTRY_
> 
> Can I get this working again with the latest version of SpamAssassin?
> 
> 


Maybe you've overwridden your init.pre? There's an entry for Relaycountry in
it:

# RelayCountry - add metadata for Bayes learning, marking the countries
# a message was relayed through
#
# Note: This requires the IP::Country::Fast Perl module
#
# loadplugin Mail::SpamAssassin::Plugin::RelayCountry

It’s disabled by default, so you would have to enable it again.
-- 
View this message in context: http://old.nabble.com/Relay-Country-on-SA-3.3.1-tp28042788p28042848.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.