You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by km...@apache.org on 2013/10/13 23:28:06 UTC

svn commit: r1531755 - /spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm

Author: kmcgrail
Date: Sun Oct 13 21:28:06 2013
New Revision: 1531755

URL: http://svn.apache.org/r1531755
Log:
added has capability function for check_rbl_from_domain

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm?rev=1531755&r1=1531754&r2=1531755&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm Sun Oct 13 21:28:06 2013
@@ -327,6 +327,13 @@ sub check_rbl_from_domain {
   _check_rbl_addresses(@_, $_[1]->all_from_addrs_domains());
 }
 
+=item has_check_rbl_from_domain
+
+Adds capability check for "if can()" for check_rbl_from_domain
+
+=cut
+sub has_check_rbl_from_domain { 1 }
+
 # this only checks the address host name and not the domain name because
 # using the domain name had much worse results for dsn.rfc-ignorant.org
 sub check_rbl_envfrom {