[EMAIL PROTECTED] wrote:
I'm trying to get the RelayCountry plugin running here in order to get
a Mime header of all of the relay countries put on all messages.
We're running 3.1.1, and I've implemented the necessary patch to
Mail::SpamAssassin::Plugin::RelayCountry.
Ouch, why are you using such an old version? (and one that's subject to
numerous DoS attacks at that)
Offhand, 3.1.1 is vulnerable to:
http://spamassassin.apache.org/advisories/cve-2007-2873.txt
http://spamassassin.apache.org/advisories/cve-2007-0451.txt
http://spamassassin.apache.org/advisories/cve-2006-2447.txt
We're on 3.2.4 now...
Running SA in debug, I can see that the plugin is doing its work just
fine. The X-Relay-Countries is returning expected values in the debug
output.
However, after adding "add_header all Relay-Countries _RELAYCOUNTRY_"
to my /etc/mail/spamassassin/local.cf file, there is no header being
added. To check this even further, I put "add_header all Test-LG
'This is a test'" into the /etc/mail/spamassassin/local.cf file. That
header isn't being added either.
I've checked through the wiki, eliminated all possibilities of
user_prefs overriding local.cf and cannot figure out why add_header
isn't working for me. No Amavisd or Exim in front.
Does anyone have any ideas or experience with this?
The _RELAYCOUNTRY_ tag doesn't work in 3.1.1 due to a bug, it was fixed
for 3.1.2.
See this thread from almost 2 years ago when 3.1.1 was a current version
of SpamAssassin:
http://mail-archives.apache.org/mod_mbox/spamassassin-users/200604.mbox/[EMAIL
PROTECTED]