Re: Asynchronous plugin skeleton needed

2017-01-18 Thread Pedro David Marco
>You should be able to use the other asynchronous plugins as a reference> >as well. Thanks... but i cannot find documentation about thinks like "register_async_rule_start()" for example...  can anyone point to me where is it documented, please? Thanks!Pedro.

SPF PermError or TempError cannot hit

2017-01-18 Thread Olivier Coutu
I realized that the rules T_SPF_PERMERROR and T_SPF_TEMPERROR were never hitting on my emails even though my Postfix log had multiple instances of such errors, e.g. this timeout 2017-01-16 14:03:35-0500 [postfix] 10111.5ms ip=173.37.142.90 h=alln-iport-3.cisco.comfrom=p...@cisco.com to=u...@d

Re: Rule to compare rDNS to regular expression

2017-01-18 Thread Paul Stead
Why not a fourth? Set up rbldnsd listing “.amazonaws.com” – plus whatever else you want, then use some built-in AskDNS stuff: askdns LOCAL_RBL_EXTERNAL_RDNS _LASTEXTERNALRDNS_.lookup.example.com A 127.0.0.2 askdns interpolates tags before using them as a DNS lookup http://search.cpan.org/dist/

Re: Rule to compare rDNS to regular expression

2017-01-18 Thread Paul Stead
And a third answer! I’ve mentioned TagMatch before - https://github.com/fmbla/spamassassin-tagmatch From https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.html#template_tags ifplugin Mail::SpamAssassin::Plugin::Tagmatch tagmatch __TAGMATCH_RDNS_AWS _LASTEXTERNALRDNS_ =~ /\

Re: Rule to compare rDNS to regular expression

2017-01-18 Thread RW
On Wed, 18 Jan 2017 11:13:20 -0600 Ken Johnson wrote: > Hi, > > I would like to write a rule to compare the rDNS lookup of the > sender's IP address to a regular expression. I have written super > simple URI rules for /etc/spamassassin/local.cf (Debian Linux system) > like this: > > uri

Re: Rule to compare rDNS to regular expression

2017-01-18 Thread Axb
On 01/18/2017 06:13 PM, Ken Johnson wrote: Hi, I would like to write a rule to compare the rDNS lookup of the sender's IP address to a regular expression. I have written super simple URI rules for /etc/spamassassin/local.cf (Debian Linux system) like this: uri LOCAL_AWSURI /.*amazonaws

Rule to compare rDNS to regular expression

2017-01-18 Thread Ken Johnson
Hi, I would like to write a rule to compare the rDNS lookup of the sender's IP address to a regular expression. I have written super simple URI rules for /etc/spamassassin/local.cf (Debian Linux system) like this: uri LOCAL_AWSURI /.*amazonaws\.com/ score LOCAL_AWSURI 2.6 describe

ApacheCon CFP closing soon (11 February)

2017-01-18 Thread Rich Bowen
Hello, fellow Apache enthusiast. Thanks for your participation, and interest in, the projects of the Apache Software Foundation. I wanted to remind you that the Call For Papers (CFP) for ApacheCon North America, and Apache: Big Data North America, closes in less than a month. If you've been puttin

Re: Asynchronous plugin skeleton needed

2017-01-18 Thread Joe Quinn
On 1/18/2017 7:08 AM, Kiwi User wrote: On Wed, 2017-01-18 at 11:36 +, Pedro David Marco wrote: I would like to write a simple plugin to check some local Databases (cannot use rbldnsd) that takes long so making it asynchronous seems the best idea.. If possible, can anyone provide any skeleton

Re: Asynchronous plugin skeleton needed

2017-01-18 Thread Kiwi User
On Wed, 2017-01-18 at 11:36 +, Pedro David Marco wrote: > I would like to write a simple plugin to check some local Databases > (cannot use rbldnsd) that takes long so making it asynchronous seems > the best idea.. > If possible, can anyone provide any skeleton, please? > Local databases SQL,

Asynchronous plugin skeleton needed

2017-01-18 Thread Pedro David Marco
Hi everybody... Is it possible to have an asynchronous plugin for something not DNS/RBL related? I would like to write a simple plugin to check some local Databases (cannot use  rbldnsd) that takes long so making it asynchronous seems the best idea.. If possible, can anyone provide any skeleton, pl