[Mimedefang] reject a message if listed on more than one DNSBL

2014-03-18 Thread Marcus Schopen
Hi,

is it possible to reject a message if it's sending server is listed in
more than one given DNS-blacklists before the message is running into
further resource hungry spamassassin content filtering? I'd like to
reject messages from a server if its IP is found in at least _two_ of
four given DNSBLs. If there is no hit in these given DNSBL lists or only
in one of four lists, in a next step the message should be scanned by
Spamassassin.

Cheers
Marcus


___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] reject a message if listed on more than one DNSBL

2014-03-18 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 18 Mar 2014, Marcus Schopen wrote:


is it possible to reject a message if it's sending server is listed in


use the Net::DNS resolver and query the blacklists. mimedefang.pl has the 
skeleton how to query.


- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUyhxdZSHNCne69JnAQLMsQf7BcRrSVYchWSgrbYbmizGG55HizgUI9z+
ZByh3LQCcOG3qIZnhMrpP7pn7RIziQrwJvfCTgOb4XgG8FIFYOTsGg6RbIOU8tHV
izHOJyshh5iDO/q7jf87pvm0xvjwS8OWz6y+Xk+STULWf5MW+VLEFGALUoB2W6dW
qd4dKGRh+4gDWFysWKnR2l5l+LioohhZBORTX5DEt0s4NvDKUUE549vxl5Oj8ePJ
IXY4XTMma9fz3E8xFCNgXyYdjlbBc/vseJTl65GLk/lDlhDu1UhDFycSUV1JLXk6
LR4EbyHlDWfJFoOn5Z0LyhoJ15itzZxIc2pIruieS348UqRzZH6OBQ==
=IFw6
-END PGP SIGNATURE-
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] reject a message if listed on more than one DNSBL

2014-03-18 Thread David F. Skoll
On Tue, 18 Mar 2014 17:16:53 +0100 (CET)
Steffen Kaiser skmimedef...@smail.inf.fh-bonn-rhein-sieg.de wrote:

 use the Net::DNS resolver and query the blacklists. mimedefang.pl has
 the skeleton how to query.

I also maintain a nice CPAN module:

http://search.cpan.org/~dskoll/Net-DNSBL-Client-0.205/

that can help.

Regards,

David.
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang