On Wednesday, January 18, 2017, I wrote:
>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 /.*amazonaw
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/
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_ =~ /\
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
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
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