X-Relay-Countries

Dimitri Volski dimavo at gmail.com
Thu Feb 8 10:10:09 CET 2007


Hi All,

I am having troubles getting the SpamAssassin scores based on Relay
Countries.

A snip of the log:

debug: received-header: relay 84.56.164.42 trusted? no internal? no
debug: metadata: X-Spam-Relays-Trusted:
debug: metadata: X-Spam-Relays-Untrusted: [ ip=84.56.164.42 rdns=
dslb-084-056-164-042.pools.arcor-ip.net helo=callaria.com
by=mx.google.comident= envfrom= intl=0 id=
p4si1743305qba.2007.02.05.02.02.53 auth= ]
debug: plugin: Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x931059c)
implements 'extract_metadata'
debug: metadata: X-Relay-Countries: DE
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x99dd4c8)
implements 'parsed_metadata'

Here I can see that the country is detected as Denmark, but when I insert

header RELAY_DE X-Relay-Countries =~/\bDE\b/
describe RELAY_DE       Relayed through Germany
score RELAY_DE 1.0

into /etc/MailScanner/spam.assassin.prefs.conf , I cannot see it in
theSpamAssassin report (if run manually on source of the message above) or
the MailScanner report.

If run manually, SpamAssassin gives this header in the end:

X-Spam-Flag: NO
X-Spam-Checker-Version: SpamAssassin 3.0.5 (2005-11-28) on exmail
X-Spam-Level: ****
X-Spam-Status: No, score=4.4 required=5.0 tests=FORGED_RCVD_HELO,RCVD_BY_IP,
        RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL,RCVD_IN_XBL autolearn=no
        version=3.0.5

In which I cannot see the RELAY_DE

Please help !  :)

Cheers,
dim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20070208/1ca068a4/attachment.html


More information about the MailScanner mailing list