Re: alternatives for deprecated Perl API support in SA's RelayCountry plugin + MaxMind GeoIP2 *.mmdb data?

2022-09-09 Thread PGNet Dev
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

Re: alternatives for deprecated Perl API support in SA's RelayCountry plugin + MaxMind GeoIP2 *.mmdb data?

2022-09-09 Thread PGNet Dev
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

Re: alternatives for deprecated Perl API support in SA's RelayCountry plugin + MaxMind GeoIP2 *.mmdb data?

2022-09-09 Thread Henrik K
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

alternatives for deprecated Perl API support in SA's RelayCountry plugin + MaxMind GeoIP2 *.mmdb data?

2022-09-09 Thread PGNet Dev
└── 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

Re: Relaycountry problem

2016-09-02 Thread RW
On Fri, 2 Sep 2016 09:31:41 + Nicola Piazzi wrote: > header RELAYCOUNTRY_ITX-Relay-Countries =~ /IT/ > header RELAYCOUNTRY_BAD X-Relay-Countries > =~ /^(US|CN|RU|UA|JP|HK|UK|DE|BR|IN)/ > > in some cases I have both results in the spam report, I suppose that > is

Relaycountry problem

2016-09-02 Thread Nicola Piazzi
header RELAYCOUNTRY_ITX-Relay-Countries =~ /IT/ header RELAYCOUNTRY_BAD X-Relay-Countries =~ /^(US|CN|RU|UA|JP|HK|UK|DE|BR|IN)/ in some cases I have both results in the spam report, I suppose that is because plugin evals all ip address end not lastexterlal, is it co

Re: Note to RelayCountry users

2011-06-19 Thread Per Jessen
Henrik K wrote: > On Sun, Jun 19, 2011 at 09:33:19AM +0200, Per Jessen wrote: >> Benny Pedersen wrote: >> >> > 2011/5/25 Henrik K : >> >> >> >> If you are using RelayCountry plugin, you are most likely using >> >> almost two years

Re: Note to RelayCountry users

2011-06-19 Thread Henrik K
On Sun, Jun 19, 2011 at 09:33:19AM +0200, Per Jessen wrote: > Benny Pedersen wrote: > > > 2011/5/25 Henrik K : > >> > >> If you are using RelayCountry plugin, you are most likely using > >> almost two years old IP::Country::Fast database, or possibly even

Re: Note to RelayCountry users

2011-06-19 Thread Per Jessen
Benny Pedersen wrote: > 2011/5/25 Henrik K : >> >> If you are using RelayCountry plugin, you are most likely using >> almost two years old IP::Country::Fast database, or possibly even >> older. >> >> You might want to update the database, I tried a random sa

Re: Note to RelayCountry users

2011-06-18 Thread Benny Pedersen
2011/5/25 Henrik K : > > If you are using RelayCountry plugin, you are most likely using almost two > years old IP::Country::Fast database, or possibly even older. > > You might want to update the database, I tried a random sample of 2 ips > from my flow and 6% of the re

Re: Note to RelayCountry users

2011-05-25 Thread Benny Pedersen
On Wed, 25 May 2011 09:52:48 +0300, Henrik K wrote: > I documented some details here: > http://wiki.apache.org/spamassassin/RelayCountryPlugin and IPs not found in database are marked with 'XX' XX is some country to, its -- that is no listsed > (I think I will commit Geo::IP support to trunk s

Note to RelayCountry users

2011-05-24 Thread Henrik K
If you are using RelayCountry plugin, you are most likely using almost two years old IP::Country::Fast database, or possibly even older. You might want to update the database, I tried a random sample of 2 ips from my flow and 6% of the results were changed. I documented some details here

Re: RelayCountry Plugin

2011-05-21 Thread Rapitharian
try score RELAYCOUNTRY_SENSIBLE 1.0 Thanks to everyone for there help getting this to work. Now every time an email relays through a country 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.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: RelayCountry Plugin

2011-05-21 Thread Rapitharian
R|GB|KY|US)[^[:alpha:]]*)+$/ describe__RELAYCOUNTRY_SENSIBLE Relayed through a Spammy Country score __RELAYCOUNTRY_SENSIBLE 7.0 The key difference is I exchanged 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.

Re: RelayCountry Plugin

2011-05-20 Thread Daniel McDonald
On 5/20/11 4:58 PM, "RW" 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 subdirectory. I just

Re: RelayCountry Plugin

2011-05-20 Thread RW
On Fri, 20 May 2011 06:41:33 -0500 Daniel McDonald wrote: > > > > On 5/19/11 7:55 PM, "Rapitharian" 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)[^[

Re: RelayCountry Plugin

2011-05-20 Thread Daniel McDonald
On 5/19/11 7:55 PM, "Rapitharian" 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 more non-alpha c

Re: RelayCountry Plugin

2011-05-19 Thread Rapitharian
1 or more times plus some string. Nope that is wrong. Try two, X-Relay-Countries is equal to case sensitive, not alpha characters; matched one or more times, GB or US, not alpha characters; one or more times, and some string? Am I even close? Thanks again 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.

Re: RelayCountry Plugin

2011-05-19 Thread John Hardin
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 performance

Re: RelayCountry Plugin

2011-05-19 Thread Rapitharian
RELAYCOUNTRY_ALL__HAS_RCVD >> describe RELAYCOUNTRY_ALLRelayed through any country >> score RELAYCOUNTRY_ALL1.00 >> >> >> Then write a RelayCountry rule for the "trusted" countries, and assign >> it an offsetting negativ

Re: RelayCountry Plugin

2011-05-19 Thread Daniel McDonald
On 5/19/11 8:07 AM, "RW" wrote: > On Thu, 19 May 2011 08:15:00 +0200 > John Wilcock 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)/ >>> de

Re: RelayCountry Plugin

2011-05-19 Thread RW
On Thu, 19 May 2011 08:15:00 +0200 John Wilcock 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 throug

Re: RelayCountry Plugin

2011-05-19 Thread John Hardin
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/ jhar

Re: RelayCountry Plugin

2011-05-18 Thread John Wilcock
score RELAYCOUNTRY_ALL1.00 Then write a RelayCountry rule for the "trusted" countries, and assign it an offsetting negative score: header RELAYCOUNTRY_GOOD X-Relay-Countries=~/(?:US|CA|FR)/ describe RELAYCOUNTRY_GOOD Relayed through trusted country score RELAYCO

Re: RelayCountry Plugin

2011-05-18 Thread John Hardin
RELAYCOUNTRY_ALL1.00 Then write a RelayCountry rule for the "trusted" countries, and assign it an offsetting negative score: header RELAYCOUNTRY_GOOD X-Relay-Countries=~/(?:US|CA|FR)/ describe RELAYCOUNTRY_GOOD Relayed through trusted country score RELAYCOUNTRY_GO

RelayCountry Plugin

2011-05-18 Thread Rapitharian
in advance 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.

RelayCountry plugin: make it capable to use IP::Country alternatives [Was: Score on sender domain by country]

2011-04-11 Thread Andrzej Adam Filip
John Hardin 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: Debian

Re: RelayCountry plugin

2010-07-29 Thread RW
On Thu, 29 Jul 2010 04:52:15 -0700 (PDT) andrij 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, li

Re: RelayCountry plugin

2010-07-29 Thread andrij
, right? > > That's not the reason. The plugin does make 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 stor

Re: RelayCountry plugin

2010-07-28 Thread Henrik K
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

Re: RelayCountry plugin

2010-07-28 Thread Jason Haar
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

Re: RelayCountry plugin

2010-07-28 Thread RW
On Wed, 28 Jul 2010 03:04:32 -0700 (PDT) andrij 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 corresp

RelayCountry plugin

2010-07-28 Thread andrij
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

Re: RelayCountry Config

2009-08-10 Thread LuKreme
On 7-Aug-2009, at 11:20, Charles Gregory wrote: Okay, so now I'm curious. What *IS* that chunk of code? If you compile it and run it you will see that the putchar() prints out his email address. -- When the routine bites hard / and ambitions are low And the resentment rides high / but emoti

Re: [sa] Re: RelayCountry Config

2009-08-07 Thread Martin Gregorie
On Fri, 2009-08-07 at 13:20 -0400, Charles Gregory wrote: > On Fri, 7 Aug 2009, Karsten Bräckelmann wrote: > >>> char > >>> *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; > >>> main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i >>> c<<=1: > >>> (c=*++x); c&128 && (

OT: Signatures and C code that doesn't look like Perl (was: RelayCountry Config)

2009-08-07 Thread Karsten Bräckelmann
On Fri, 2009-08-07 at 13:20 -0400, Charles Gregory wrote: > > > > char > > > > *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; > > > > main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i > > > c<<=1: > > > > (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ > > >

Re: [sa] Re: RelayCountry Config

2009-08-07 Thread Charles Gregory
On Fri, 7 Aug 2009, Karsten Bräckelmann wrote: char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}} How did you get line noise from your modem to look so much like perl co

Re: RelayCountry Config

2009-08-07 Thread Karsten Bräckelmann
> > char > > *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; > > main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i > c<<=1: > > (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; > > }}} > > How did you get line noise from your modem to loo

Re: RelayCountry Config

2009-08-07 Thread RW
On Fri, 7 Aug 2009 00:46:46 -0400 MySQL Student wrote: > Hi, > > > I find ordinary header and meta rules are all I need: > > > > http://pastebin.com/f5e5232d1 > > Among those rules you have: > > meta RELAYCOUNTRY_MED ! RELAYCOUNTRY_HIGH && ( > __RELAYCOUNTRY_AF || __RELAYCOUNTRY_AS |

Re: RelayCountry Config

2009-08-06 Thread MySQL Student
Hi, > I find ordinary header and meta rules are all I need: > > http://pastebin.com/f5e5232d1 Among those rules you have: meta RELAYCOUNTRY_MED ! RELAYCOUNTRY_HIGH && ( __RELAYCOUNTRY_AF || __RELAYCOUNTRY_AS || __RELAYCOUNTRY_EU_S || __RELAYCOUNTRY_OC_S || __RELAYCOUNTRY_AM_S ) It's p

Re: RelayCountry Config

2009-08-06 Thread Luis Daniel Lucio Quiroz
Le jeudi 6 août 2009 21:55:33, Karsten Bräckelmann a écrit : > > What I don't understand is that it knows which country its relayed > > through, because it prints the rules in the "tests=" section: > > > > X-Spam-Status: Yes, hits=21.8 tag1=-300.0 tag2=4.9 kill=4.9 > > use_bayes=1 tests=BAYES_50,

Re: RelayCountry Config

2009-08-06 Thread MySQL Student
Hi, > This is also why the plugin works and you do get the per-country rule > hits, but don't get the SA Relay-Countries header. Yes, you are correct. Thanks for the lead and the explanation. Here's a thread that talks about how to add the header for amavisd: http://www.mail-archive.com/amavis-u

Re: RelayCountry Config

2009-08-06 Thread Karsten Bräckelmann
> What I don't understand is that it knows which country its relayed > through, because it prints the rules in the "tests=" section: > > X-Spam-Status: Yes, hits=21.8 tag1=-300.0 tag2=4.9 kill=4.9 > use_bayes=1 tests=BAYES_50, BODY_ENHANCEMENT, BOTNET, > FH_HELO_EQ_D_D_D_D, RDNS_NONE, RELAYCOUNT

Re: RelayCountry Config

2009-08-06 Thread MySQL Student
message, and even viewed a number already in quarantine, and the same result. I found this message on nabble: http://www.nabble.com/Question-about-RelayCountry-td18309349.html#a18339974 Same problem, back in'08, with no resolution. I even downgraded to the IP::Fast released in Jan 09, and no

Re: RelayCountry Config

2009-08-06 Thread Matt Kettler
MySQL Student wrote: > Hi, > > >> I don't know if it makes a difference, but I call it Relay-Countries to >> match the name of the pseudo-header used in the tests >> >> add_header all Relay-Countries _RELAYCOUNTRY_ >> > > It doesn't appear to make a difference. I must be doing some

Re: RelayCountry Config

2009-08-06 Thread MySQL Student
d file /etc/mail/spamassassin/70_relay_country.cf [23760] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from @INC [23760] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC [23760] dbg: Botnet: adding (\b|\d)relay(\b|\d) to botnet_serverwords [23760] dbg: Botnet:

Re: RelayCountry Config

2009-08-06 Thread Chris
On Thu, 2009-08-06 at 22:34 +0100, RW wrote: > > Somewhat of a basic question, but once I do manage to get that header > > working, I know I can parse that and make decisions based on it. Are > > there any pre-written perl routines or utilities that can make that > > information useful? > > I fin

Re: RelayCountry Config

2009-08-06 Thread RW
On Thu, 6 Aug 2009 16:38:53 -0400 MySQL Student wrote: > add_header all Relay-Country _RELAYCOUNTRY_ > ... > I was hoping to also have the X-Spam-Countries header added, but that > doesn't seem to work. I don't know if it makes a difference, but I call it Relay-Countries to match the name of t

RelayCountry Config

2009-08-06 Thread MySQL Student
Hi, I'm trying to configure RelayCountry. I have it installed, and SA recognizes it: # spamassassin --lint -D 2>&1|grep -i country [4278] dbg: diag: module installed: IP::Country::Fast, version 604.001 [4278] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from @IN

Re: RelayCountry Check

2009-07-28 Thread --[ UxBoD ]--
- "Stefan" wrote: > --[ UxBoD ]--: > > - "Matus UHLAR - fantomas" wrote: > > > > > On Tue, 2009-07-28 at 11:20 +0100, --[ UxBoD ]-- wrote: > > > > > > Would somebody please let me know what is required to get it > to > > > work > > > > > > > > :) I have installed the Perl module and ena

Re: RelayCountry Check

2009-07-28 Thread Stefan
--[ UxBoD ]--: > - "Matus UHLAR - fantomas" wrote: > > > > On Tue, 2009-07-28 at 11:20 +0100, --[ UxBoD ]-- wrote: > > > > > Would somebody please let me know what is required to get it to > > work > > > > > > :) I have installed the Perl module and enabled the plugin but > > it never appears

Re: RelayCountry Check

2009-07-28 Thread RW
On Tue, 28 Jul 2009 11:29:26 +0100 (BST) "--[ UxBoD ]--" wrote: > - "Mariusz Kruk" wrote: > > > The plugin itself only adds metadata to the message. You need to > > configure SA to use this metadata. > > http://wiki.apache.org/spamassassin/RelayCountryPlugin > > > > -- > Thats the issue

Re: RelayCountry Check

2009-07-28 Thread Mariusz Kruk
On Tue, 2009-07-28 at 11:49 +0100, --[ UxBoD ]-- wrote: > > You say that you installed the Perl module - you mean the > > RelayCountry > > plugin or the IP::Country::Fast module? (needed by the RC module) > IP::Country::Fast as defined in the requirements. Does `spamassassi

Re: RelayCountry Check

2009-07-28 Thread --[ UxBoD ]--
- "Matus UHLAR - fantomas" wrote: > > > On Tue, 2009-07-28 at 11:20 +0100, --[ UxBoD ]-- wrote: > > > > Would somebody please let me know what is required to get it to > work > > > :) I have installed the Perl module and enabled the plugin but > it > > > never appears to hit :( > > > -

Re: RelayCountry Check

2009-07-28 Thread Matus UHLAR - fantomas
> > On Tue, 2009-07-28 at 11:20 +0100, --[ UxBoD ]-- wrote: > > > Would somebody please let me know what is required to get it to work > > :) I have installed the Perl module and enabled the plugin but it > > never appears to hit :( > - "Mariusz Kruk" wrote: > > The plugin itself only adds m

Re: RelayCountry Check

2009-07-28 Thread --[ UxBoD ]--
message. You need to > > > configure SA to use this metadata. > > > http://wiki.apache.org/spamassassin/RelayCountryPlugin > > > > > > -- > > Thats the issue ... the meta-data never gets added :( I have run SA > with debug and lint and the Perl module etc is loaded fine.

Re: RelayCountry Check

2009-07-28 Thread Mariusz Kruk
n > > > > -- > Thats the issue ... the meta-data never gets added :( I have run SA with > debug and lint and the Perl module etc is loaded fine. No warnings at all. You say that you installed the Perl module - you mean the RelayCountry plugin or the IP::Country::Fast module?

Re: RelayCountry Check

2009-07-28 Thread --[ UxBoD ]--
- "Mariusz Kruk" wrote: > On Tue, 2009-07-28 at 11:20 +0100, --[ UxBoD ]-- wrote: > > Hi, > > > > Would somebody please let me know what is required to get it to work > :) I have installed the Perl module and enabled the plugin but it > never appears to hit :( > > The plugin itself only ad

Re: RelayCountry Check

2009-07-28 Thread Mariusz Kruk
On Tue, 2009-07-28 at 11:20 +0100, --[ UxBoD ]-- wrote: > Hi, > > Would somebody please let me know what is required to get it to work :) I > have installed the Perl module and enabled the plugin but it never appears to > hit :( The plugin itself only adds metadata to the message. You need to

RelayCountry Check

2009-07-28 Thread --[ UxBoD ]--
Hi, Would somebody please let me know what is required to get it to work :) I have installed the Perl module and enabled the plugin but it never appears to hit :( Best Regards, -- SplatNIX IT Services :: Innovation through collaboration

Re: I want to use RelayCountry

2009-07-22 Thread Bowie Bailey
Joao Neves wrote: At 22-07-2009 14:56, "Bowie Bailey" wrote: Benny Pedersen wrote: http://www.google.dk/search?q=cpan2dist&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:da-DK:unofficial&client=firefox-a if some rpm is missing, then use the url to make native rpm from cpan before install them

Re: I want to use RelayCountry

2009-07-22 Thread Benny Pedersen
On Wed, July 22, 2009 16:31, Joao Neves wrote: > You don't need it, try directly using CPAN: > cpan> install Bundle::CPANPLUS remember to install it as a rpm, else we get problems later -- xpoint

Re: I want to use RelayCountry

2009-07-22 Thread Joao Neves
At 22-07-2009 14:56, "Bowie Bailey" wrote: > Benny Pedersen wrote: >> On Wed, July 22, 2009 12:41, snowweb wrote: >> - PackageKit as the Gnome (GUI) package manager. Its in the Gnome menu as System|Administration|Add/Remove software >>> Thanks Martin. I'll remember to use

Re: I want to use RelayCountry

2009-07-22 Thread Bowie Bailey
Benny Pedersen wrote: On Wed, July 22, 2009 12:41, snowweb wrote: - PackageKit as the Gnome (GUI) package manager. Its in the Gnome menu as System|Administration|Add/Remove software Thanks Martin. I'll remember to use Yum from now on. Cheers mate. http://www.google.dk/search?

Re: I want to use RelayCountry

2009-07-22 Thread Benny Pedersen
On Wed, July 22, 2009 12:41, snowweb wrote: >> - PackageKit as the Gnome (GUI) package manager. Its in the Gnome menu >> as System|Administration|Add/Remove software > Thanks Martin. I'll remember to use Yum from now on. Cheers mate. http://www.google.dk/search?q=cpan2dist&ie=utf-8&oe=utf-8&aq=

Re: I want to use RelayCountry

2009-07-22 Thread snowweb
ystem|Administration|Add/Remove software > Thanks Martin. I'll remember to use Yum from now on. Cheers mate. -- View this message in context: http://www.nabble.com/I-want-to-use-RelayCountry-tp24553321p24603997.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: I want to use RelayCountry

2009-07-22 Thread Martin Gregorie
> Thanks Matus for the advice. I wasn't aware of that but am trying to learn > as quickly as I can. Is there a command that I can run to tell me what the > OS/distro package manager is? I'm using CentOS 5 with DirectAdmin as my > hosting manager. > CentOS is heavily dependent of RedHat, so it prob

Re: I want to use RelayCountry

2009-07-22 Thread snowweb
re of that but am trying to learn as quickly as I can. Is there a command that I can run to tell me what the OS/distro package manager is? I'm using CentOS 5 with DirectAdmin as my hosting manager. Also thanks to those who helped to get me started with RelayCountry, especially to Steven W. Orr,

Re: I want to use RelayCountry

2009-07-22 Thread Matus UHLAR - fantomas
> > On Sat, 18 Jul 2009 18:20:49 -0700 (PDT) > > snowweb wrote: > >> I want to use RelayCountry but I have no idea where to find > >> IP::Country::Fast Perl module, which it apparently depends on. > RW-15 wrote: > > I would suggest you look through you

Re: I want to use RelayCountry

2009-07-19 Thread snowweb
RW-15 wrote: > > On Sat, 18 Jul 2009 18:20:49 -0700 (PDT) > snowweb wrote: > >> >> I want to use RelayCountry but I have no idea where to find >> IP::Country::Fast Perl module, which it apparently depends on. >> > > I would suggest you look throug

Re: I want to use RelayCountry

2009-07-18 Thread RW
On Sat, 18 Jul 2009 18:20:49 -0700 (PDT) snowweb wrote: > > I want to use RelayCountry but I have no idea where to find > IP::Country::Fast Perl module, which it apparently depends on. > I would suggest you look through your OS's packing system for something that looks like

I want to use RelayCountry

2009-07-18 Thread snowweb
I want to use RelayCountry but I have no idea where to find IP::Country::Fast Perl module, which it apparently depends on. Please can someone point me in the right direction. I've tried ixquick.com but nothing. Tnx. -- View this message in context: http://www.nabble.com/I-want-t

Re: question please (RelayCountry plugin)

2009-04-03 Thread Gary
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 appr

Re: question please (RelayCountry plugin)

2009-04-03 Thread Karsten Bräckelmann
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

Re: Partial solution: Question about RelayCountry

2008-07-11 Thread Steven W. Orr
do-header created =>by the RelayCountry plugin. That header isn't added to the message, but the =>rules will still match on it. They will work even if your add_header doesn't =>exist at all. => =>The only purpose of the add_header is to create a human readable copy, but SA

Re: Partial solution: Question about RelayCountry

2008-07-10 Thread David B Funk
On Thu, 10 Jul 2008, Steven W. Orr wrote: > I dug deeper into the problem of why I was not getting the > X-Spam-Relay-Countries header added to my mail, and I think I understand > things a bit better. (The goal is to see what countries the few false > negatives are going through.) > > First of all

Re: Partial solution: Question about RelayCountry

2008-07-10 Thread Matt Kettler
The rules check X-Relay-Countries, which is an internal pseudo-header created by the RelayCountry plugin. That header isn't added to the message, but the rules will still match on it. They will work even if your add_header doesn't exist at all. The only purpose of the add_header is to

Partial solution: Question about RelayCountry

2008-07-10 Thread Steven W. Orr
n=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on saturn.syslang.net Is there anything obvious I'm missing? TIA In init.pre: # Uncommented loadplugin Mail::SpamAssassin::Plugin::RelayCountry In 00_add_headers.cf: clear_headers add_header all Checker-Version SpamAssass

Re: Question about RelayCountry

2008-07-08 Thread Steven W. Orr
On Tuesday, Jul 8th 2008 at 10:18 -, quoth McDonald, Dan: =>On Tue, 2008-07-08 at 10:00 -0400, Steven W. Orr wrote: =>> On Monday, Jul 7th 2008 at 05:41 -, quoth Justin Mason: =>> =>> => =>> =>Matus UHLAR - fantomas writes: =>> =>> On 06.07.08 23:09, Steven W. Orr wrote: =>> =>> > Should

Re: Question about RelayCountry

2008-07-08 Thread McDonald, Dan
On Tue, 2008-07-08 at 10:00 -0400, Steven W. Orr wrote: > On Monday, Jul 7th 2008 at 05:41 -, quoth Justin Mason: > > => > =>Matus UHLAR - fantomas writes: > =>> On 06.07.08 23:09, Steven W. Orr wrote: > =>> > Should I expect to see X-Relay-Countries as an added header in my > =>> > unrejecte

Re: Question about RelayCountry

2008-07-08 Thread Steven W. Orr
utolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on saturn.syslang.net Is there anything obvious I'm missing? TIA In init.pre: # Uncommented loadplugin Mail::SpamAssassin::Plugin::RelayCountry In 00_add_headers.cf: clear_headers add_header all

Re: Question about RelayCountry

2008-07-07 Thread Justin Mason
Matus UHLAR - fantomas writes: > On 06.07.08 23:09, Steven W. Orr wrote: > > Should I expect to see X-Relay-Countries as an added header in my > > unrejected mail or is that only added to rejected mail? (Right now I do > > not see anything in the accepted mail.) > > you should see it in any mai

Re: Question about RelayCountry

2008-07-07 Thread Matus UHLAR - fantomas
On 06.07.08 23:09, Steven W. Orr wrote: > Should I expect to see X-Relay-Countries as an added header in my > unrejected mail or is that only added to rejected mail? (Right now I do > not see anything in the accepted mail.) you should see it in any mail I'd say. It is only used for bayes DB and

Question about RelayCountry

2008-07-06 Thread Steven W. Orr
I uncommented loadplugin Mail::SpamAssassin::Plugin::RelayCountry in init.pre and I created a relay_country.cf in /etc/mail/spamassassin The setup I use is sendmail/spamassmilter/spamsassin(spamd) to reject mail during reception. Should I expect to see X-Relay-Countries as an added header

Re: RelayCountry

2007-05-24 Thread Mariusz Kruk
Daniel Aquino napisał(a): Does anyone know actually know where the: "Mail::SpamAssassin::Plugin::RelayCountry" module is actually ran ? I dont see anything in /usr/share/spamassassin/* that is doing it... I don't know about you, but I have: epsilon:/etc/spamassassin>

Re: RelayCountry

2007-05-23 Thread Matt Kettler
Daniel Aquino wrote: > Does anyone know actually know where the: > "Mail::SpamAssassin::Plugin::RelayCountry" > module is actually ran ? > > I dont see anything in /usr/share/spamassassin/* that is doing it... There are no default rules that make use of it. By default,

RelayCountry

2007-05-23 Thread Daniel Aquino
Does anyone know actually know where the: "Mail::SpamAssassin::Plugin::RelayCountry" module is actually ran ? I dont see anything in /usr/share/spamassassin/* that is doing it...

Re: RelayCountry Issues

2007-05-15 Thread Big Wave Dave
On 5/15/07, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote: Big Wave Dave wrote: > On 5/15/07, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote: >> Big Wave Dave wrote: >> >> > Do you want to see the full debug with --lint or a real message? >> > Should I send it to the list as well? >> > Thanks for yo

Re: RelayCountry Issues

2007-05-15 Thread Big Wave Dave
On 5/15/07, Bill Landry <[EMAIL PROTECTED]> wrote: Big Wave Dave wrote the following on 5/15/2007 12:54 PM -0800: > On 5/15/07, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote: >> Big Wave Dave wrote: >> >> > Do you want to see the full debug with --lint or a real message? >> > Should I send it to t

Re: RelayCountry Issues

2007-05-15 Thread Daryl C. W. O'Shea
Big Wave Dave wrote: On 5/15/07, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote: Big Wave Dave wrote: > Do you want to see the full debug with --lint or a real message? > Should I send it to the list as well? > Thanks for your assistance. Either would probably do, might as well use a real messag

Re: RelayCountry Issues

2007-05-15 Thread Bill Landry
Big Wave Dave wrote the following on 5/15/2007 12:54 PM -0800: On 5/15/07, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote: Big Wave Dave wrote: > Do you want to see the full debug with --lint or a real message? > Should I send it to the list as well? > Thanks for your assistance. Either would pr

Re: RelayCountry Issues

2007-05-15 Thread Big Wave Dave
: config: using "/root/.spamassassin/user_prefs" for user prefs file [32611] dbg: config: read file /root/.spamassassin/user_prefs [32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from @INC [32611] dbg: plugin: registered Mail::SpamAssassin::Plugin::RelayCountry=HASH(0xb

Re: RelayCountry Issues

2007-05-15 Thread Daryl C. W. O'Shea
Big Wave Dave wrote: Do you want to see the full debug with --lint or a real message? Should I send it to the list as well? Thanks for your assistance. Either would probably do, might as well use a real message. Sending to the list is fine. Daryl

Re: RelayCountry Issues

2007-05-15 Thread Big Wave Dave
On 5/15/07, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote: Big Wave Dave wrote: > On 5/15/07, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote: >> Big Wave Dave wrote: >> > I am running SA 3.1.8, and I'm having issues implementing the >> > Relay

Re: RelayCountry Issues

2007-05-15 Thread Daryl C. W. O'Shea
Big Wave Dave wrote: On 5/15/07, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote: Big Wave Dave wrote: > I am running SA 3.1.8, and I'm having issues implementing the > RelayCountry plugin. I followed the Wiki/PerlDoc page, but have not > had any success. > Howeve

Re: RelayCountry Issues

2007-05-15 Thread Big Wave Dave
On 5/15/07, Daryl C. W. O'Shea <[EMAIL PROTECTED]> wrote: Big Wave Dave wrote: > I am running SA 3.1.8, and I'm having issues implementing the > RelayCountry plugin. I followed the Wiki/PerlDoc page, but have not > had any success. > However, the header is never ad

Re: RelayCountry Issues

2007-05-15 Thread Daryl C. W. O'Shea
Big Wave Dave wrote: I am running SA 3.1.8, and I'm having issues implementing the RelayCountry plugin. I followed the Wiki/PerlDoc page, but have not had any success. However, the header is never added. In init.pre, I have individually tried each: add_header all Relay _RELAYCOU

RelayCountry Issues

2007-05-15 Thread Big Wave Dave
I am running SA 3.1.8, and I'm having issues implementing the RelayCountry plugin. I followed the Wiki/PerlDoc page, but have not had any success. I have the IP::Country::Fast /usr/lib/perl5/vendor_perl/5.8.8/IP/Country /usr/lib/perl5/vendor_perl/5.8.8/IP/Country.pm /usr/lib/perl5/vendor

Re: RelayCountry plugin doesn't add header

2007-01-02 Thread Alan Munday
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

RelayCountry plugin doesn't add header

2007-01-02 Thread Nick Radov
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

  1   2   >