fwiw,
It'd be useful to hear from @maxmind what they're recommending ...
I received the following response from MaxMind support:
"
Thank you for contacting MaxMind support. Though I wouldn't be able to advise
regarding the RelayCountry plugin, it's correct that our GeoIP2 Perl API has
Original Message
From: Henrik K [mailto:h...@hege.li]
Sent: Friday, September 9, 2022 at 9:59 AM EDT
To: users@spamassassin.apache.org
Subject: alternatives for deprecated Perl API support in SA's RelayCountry
plugin + MaxMind GeoIP2 *.mmdb data?
On Fri, Sep 09, 2022 at 08
On Fri, Sep 09, 2022 at 08:15:04AM -0400, PGNet Dev wrote:
>
> What alternative, non-deprecated support, if any, exists, or is planned,
> for SA RelayCountry plugin usage with MaxMind GeoIP2 *.mmdb data?
As the database format should not ever change, there is no reason to assume
the cur
└── GeoLite2-Country.mmdb
RelayCountry plugin is enabled / in use
grep RelayCountry init.pre
# RelayCountry - add metadata for Bayes learning, marking the
countries
loadplugin Mail::SpamAssassin::Plugin::RelayCountry
for use with the GeoIP2 data,
https
the = for a !. This should make this rule
a negative rather than a positive match, correct?
Again I thank you all for your help.
Rap
--
View this message in context:
http://old.nabble.com/RelayCountry-Plugin-tp31652314p31670939.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
not in my very short acceptable list it gets
tagged with a point. Not as fine grained control as the normal method, but
a much easier way to wack all countries not explicitly called out.
Thanks Again,
Rap
--
View this message in context:
http://old.nabble.com/RelayCountry-Plugin-tp31652314p31673280
On 5/19/11 7:55 PM, Rapitharian rapithar...@hotmail.com wrote:
RW-15
Can you help me some? I am not even a novice in writing/reading regular
expressions.
What is this doing? X-Relay-Countries=~
/^([^[:alpha:]]*(GB|US)[^[:alpha:]]*)+$/
Start at the beginning of the line.
Match zero or
On Fri, 20 May 2011 06:41:33 -0500
Daniel McDonald dan.mcdon...@austinenergy.com wrote:
On 5/19/11 7:55 PM, Rapitharian rapithar...@hotmail.com wrote:
RW-15
Can you help me some? I am not even a novice in writing/reading
regular expressions.
What is this doing?
On 5/20/11 4:58 PM, RW rwmailli...@googlemail.com wrote:
BTW does anyone know if there's a way to get the FreeBSD p5-IP-Country
port to update its database. I just noticed it's nearly two years old.
The scripts to update it are in the source tarball for IP-Country, in the
dbmScripts
Le 19/05/2011 04:46, John Hardin a écrit :
Sure. Well, not a _single_ rule, but you can achieve what you want...
First, write a rule that hits on all messages and assign it a positive
score:
meta RELAYCOUNTRY_ALL__HAS_RCVD
describe RELAYCOUNTRY_ALLRelayed through any country
On Thu, 19 May 2011, John Wilcock wrote:
That could be simplified:
header __RELAYCOUNTRY_GOOD X-Relay-Countries=~/(?:US|CA|FR)/
meta RELAYCOUNTRY_NOTGOOD __HAS_RCVD !RELAYCOUNTRY_GOOD
Even better!
--
John Hardin KA7OHZhttp://www.impsec.org/~jhardin/
On Thu, 19 May 2011 08:15:00 +0200
John Wilcock j...@tradoc.fr wrote:
Le 19/05/2011 04:46, John Hardin a écrit :
Sure. Well, not a _single_ rule, but you can achieve what you
want...
header RELAYCOUNTRY_GOOD X-Relay-Countries=~/(?:US|CA|FR)/
describe RELAYCOUNTRY_GOOD Relayed
On 5/19/11 8:07 AM, RW rwmailli...@googlemail.com wrote:
On Thu, 19 May 2011 08:15:00 +0200
John Wilcock j...@tradoc.fr wrote:
Le 19/05/2011 04:46, John Hardin a écrit :
Sure. Well, not a _single_ rule, but you can achieve what you
want...
header RELAYCOUNTRY_GOOD
,
Thanks so much for the answer. I will try this in the next few days.
One quick question though:
1) What does the ?: do in =~/(?:US|CA|FR)/
Thanks so much for the help,
Rap
--
View this message in context:
http://old.nabble.com/RelayCountry-Plugin-tp31652314p31660533.html
Sent from
On Thu, 19 May 2011, Rapitharian wrote:
One quick question though:
1) What does the ?: do in =~/(?:US|CA|FR)/
(xxx) by default remembers the matched text for later use. SA rules can't
use remembered matches for anything; adding ?: makes perl not remember
what matched, which is a
for the help and education.
Rap
--
View this message in context:
http://old.nabble.com/RelayCountry-Plugin-tp31652314p31660618.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
for all your help.
-Rap
--
View this message in context:
http://old.nabble.com/RelayCountry-Plugin-tp31652314p31652314.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
On Wed, 18 May 2011, Rapitharian wrote:
I am finding that every day I get Spam sent to my users from several new
countries. This requires me to have to write new rules for these countries.
The list is getting quite long.
What I would like to know is: is there a way to write a rule to award
John Hardin jhar...@impsec.org wrote:
[...]
Much more useful is identifying the countries where the MTAs are
located. Take a look at the RelayCountry plugin.
BTW It would be nice (and IMHO simple) to make RelayCountry plugin
capable to use IP::Country *OR* (e.g.) Geo::IPfree modules.
WHY
On Thu, Jul 29, 2010 at 01:09:55AM +0100, RW wrote:
I wrote a patch last week (which I've attached) to add country pairs as
separate token metadata e.g.
X-Spam-Relay-Countries: US US CA NG
X-Spam-Relay-Country-Tokens: Trusted_US USCA CANG
It's not a straight fix, but I'll submit it if
the data available to Bayes
as the metadata from which X-Spam-Relay-Country is created,
That will work fine for the scoring phase - spamassassin processes an e-mail
with the RelayCountry plugin, the RelayCountry plugin stores country
information (internally) in metadata, then the bayes
On Thu, 29 Jul 2010 04:52:15 -0700 (PDT)
andrij andriy.stet...@gmail.com wrote:
If I run sa-learn, will these e-mails be processed with the
RelayCountry plugin before being tokenized?
Yes.
Is it not
enough just to add something to the country code in RelayCountrly.pm
to make it longer
Hi all,
I am playing with RelayCountry plugin. I have a small database of e-mails. I
processed these emails with RelayCountry plugin, so every email contains
X-Spam-Relay-country header (and corresponding countries).
Now I want to train Bayes with these emails.
Does Bayes learn the tokens
On Wed, 28 Jul 2010 03:04:32 -0700 (PDT)
andrij andriy.stet...@gmail.com wrote:
Hi all,
I am playing with RelayCountry plugin. I have a small database of
e-mails. I processed these emails with RelayCountry plugin, so every
email contains X-Spam-Relay-country header (and corresponding
On 07/29/2010 12:09 PM, RW wrote:
I wrote a patch last week (which I've attached) to add country pairs as
separate token metadata e.g.
X-Spam-Relay-Countries: US US CA NG
X-Spam-Relay-Country-Tokens: Trusted_US USCA CANG
It's not a straight fix, but I'll submit it if no-one has a better
On Thu, 2009-04-02 at 23:43 -0400, Matt Kettler wrote:
Gary wrote:
curious, is there any way to add a header showing the RelayCountries? Any
help would be appreciated.
In reasonably recent versions of SA:
add_header all Relay-Country _RELAYCOUNTRY_
Yup. Unfortunately, the POD [1] is
On Fri, Apr 03, 2009 at 03:39:49PM +0200 or thereabouts, Karsten Bräckelmann
wrote:
On Thu, 2009-04-02 at 23:43 -0400, Matt Kettler wrote:
Gary wrote:
thanks guys, perfect information.
curious, is there any way to add a header showing the RelayCountries? Any
help would be appreciated.
I am running SpamAssassin 3.1.7 in serial mode on Windows 2003. I would
like to use the RelayCountry plugin and have enabled it as described on
this web page: http://wiki.apache.org/spamassassin/RelayCountryPlugin.
But when I ran a test message through, the X-Relay-Countries header wasn't
Nick Radov wrote the following on 02/01/2007 18:35:
I am running SpamAssassin 3.1.7 in serial mode on Windows 2003. I would
like to use the RelayCountry plugin and have enabled it as described on
this web page: http://wiki.apache.org/spamassassin/RelayCountryPlugin.
But when I ran a test
29 matches
Mail list logo