Re: RelayCountry Plugin

2011-05-19 Thread Rapitharian
RW-15 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)/ >> > describe REL

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

Crypt-OpenSSL-RSA broken under perl 5.14, consequently DKIM checks in SpamAssassin

2011-05-19 Thread Mark Martinec
Now that perl 5.14.0 is gaining traction (appeared in FreeBSD ports and elsewhere), I'd like to point out that a module Crypt-OpenSSL-RSA 0.26 is still not fixed and an old bug now results in Mail::DKIM failing, consequently DKIM checks in SpamAssassin and in amavisd fail. The fix is rather trivia

Re: RelayCountry Plugin

2011-05-19 Thread Rapitharian
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... >> >> First, write a rule that hits on all messages and assign it a positive >> score: >> >> >> meta RELAYCOUNTRY_ALL__HAS_RCVD >> describe RELA

Re: sa-learn in an Exchange 2010 environment

2011-05-19 Thread Michael Scheidell
On 5/19/11 2:46 AM, Lars Jørgensen wrote: nd have some sort of IMAP-mechanism pick it up and deliver it to sa-learn. ms broke imap to public folders in 2007 sp1. so, no, you can't use imap folders. only option is ews (outlook web access), and with ews, you get a 'microsoft approved' represen

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: sa-learn in an Exchange 2010 environment

2011-05-19 Thread Rolf E. Sonneveld
On 5/19/11 8:46 AM, Lars Jørgensen wrote: Hi, I have searched thoroughly for any information on the above constellation, but have not found anything useful. We have spamassassin running on a gateway server delivering mail to users on an exchange 2010 server. Sometimes spam gets through, and

Re: sa-learn in an Exchange 2010 environment

2011-05-19 Thread Dominic Benson
On 19 May 2011, at 07:46, Lars Jørgensen wrote: > Hi, > > I have searched thoroughly for any information on the above constellation, > but have not found anything useful. > > We have spamassassin running on a gateway server delivering mail to users on > an exchange 2010 server. Sometimes sp