Problems getting relay country to work

Arjan Melein Amelein at dantumadiel.eu
Fri Oct 8 09:08:08 IST 2010


I'm trying to get the relay country plugin to work so I can start picking off whole countries but for some reason I cannot seem to get it to actually put the header.
I put the custom rules/score in local.cf as well as 'add_header all Relay-Country _RELAYCOUNTRY_' but that doesn't seem to do anything.
I also tried putting the add_header line in 10_default_prefs.cf below the clear_headers but that didn't work either.

What am I forgetting ? The spamassassin install is the latest one from the MS website.

-
Arjan

MailScanner -V output(in case it helps):
This is Fedora release 11 (Leonidas)
This is Perl version 5.010000 (5.10.0)

This is MailScanner version 4.81.4
Module versions are:
1.00    AnyDBM_File
1.30    Archive::Zip
0.23    bignum
1.08    Carp
2.008   Compress::Zlib
1.119   Convert::BinHex
0.17    Convert::TNEF
2.121_14        Data::Dumper
2.27    Date::Parse
1.01    DirHandle
1.06    Fcntl
2.77    File::Basename
2.11    File::Copy
2.01    FileHandle
2.07    File::Path
0.21    File::Temp
0.92    Filesys::Df
3.64    HTML::Entities
3.64    HTML::Parser
3.57    HTML::TokeParser
1.23    IO
1.14    IO::File
1.13    IO::Pipe
2.04    Mail::Header
1.89    Math::BigInt
0.22    Math::BigRat
3.07_01 MIME::Base64
5.427   MIME::Decoder
5.427   MIME::Decoder::UU
5.427   MIME::Head
5.427   MIME::Parser
3.07    MIME::QuotedPrint
5.427   MIME::Tools
0.13    Net::CIDR
1.25    Net::IP
0.18    OLE::Storage_Lite
1.04    Pod::Escapes
3.07    Pod::Simple
1.16    POSIX
1.21    Scalar::Util
1.81    Socket
2.18    Storable
1.4     Sys::Hostname::Long
0.27    Sys::Syslog
1.26    Test::Pod
0.92    Test::Simple
1.9719  Time::HiRes
1.02    Time::localtime

Optional module versions are:
1.29    Archive::Tar
0.23    bignum
1.82    Business::ISBN
1.10    Business::ISBN::Data
1.08    Data::Dump
1.816_1 DB_File
1.25    DBD::SQLite
1.609   DBI
1.15    Digest
1.01    Digest::HMAC
2.36_01 Digest::MD5
2.11    Digest::SHA1
1.01    Encode::Detect
0.17015 Error
0.18    ExtUtils::CBuilder
2.18_02 ExtUtils::ParseXS
2.38    Getopt::Long
0.44    Inline
1.08    IO::String
1.04    IO::Zlib
2.21    IP::Country
0.29    Mail::ClamAV
3.003001        Mail::SpamAssassin
v2.006  Mail::SPF
1.999001        Mail::SPF::Query
0.34    Module::Build
0.20    Net::CIDR::Lite
0.65    Net::DNS
v0.003  Net::DNS::Resolver::Programmable
missing Net::LDAP
 4.004  NetAddr::IP
1.94    Parse::RecDescent
missing SAVI
3.16    Test::Harness
0.95    Test::Manifest
2.0.0   Text::Balanced
1.37    URI
0.77    version
0.68    YAML



More information about the MailScanner mailing list