Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When using SA 3.1.0, you can also write rules that match specific countries, e.g.:

No Format

   header CAME_VIA_CHINA           RELAYCOUNTRY_CN X-Relay-Countries =~ /CN/
   describe        RELAYCOUNTRY_CN Relayed through China
   score           RELAYCOUNTRY_CN 3.0

   header          RELAYCOUNTRY_RU X-Relay-Countries =~ /CN/
RU/
   describe        RELAYCOUNTRY_RU Relayed through Russian Federation
   score           RELAYCOUNTRY_RU 2.0

Wiki Markup
Also, you can apply a patch \[http://bugzilla.spamassassin.org/show_bug.cgi?id=3815\] which will allow you to add a separate MIME header that shows all the message's relay countries, independent of the rules.

No Format


   add_header all Relay _RELAYCOUNTRY_

and this will show up in your MIME headers as:

No Format

   X-Spam-Relay: US CN RU