On Tue, 12 Feb 2013 12:58:40 -0600
Daniel McDonald <dan.mcdon...@austinenergy.com> wrote:

> header RELAY_NOT_US X-Relay-Countries =~ /\b[ABCDEFGHIJKLMNOPQRTVWXYZ]{2}\b/

How about:

header RELAY_NOT_US X-Relay-Countries =~ /\b(?:[A-TW-Z][A-Z]|[A-Z][A-RT-Z])\b/

Untested; use at your own risk. :)

Regards,

David.

PS: Beware of penalizing other countries too much.  My mail originates
from Canada and the PostgreSQL mailing list is (or used to be?) hosted
in Panama.  Furthermore, by far the lion's share of spam originates from
the US.

Reply via email to