User Tools

Site Tools


faq:spamassassin_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq:spamassassin_notes [2010/02/06 23:02]
119.235.66.134 ynZkAWBOxdOQy
faq:spamassassin_notes [2014/06/28 00:57] (current)
Line 1: Line 1:
-e6Gtrz ​ <a href="http://dylgpjbgiqfr.com/">​dylgpjbgiqfr<​/a>, [url=http://​jfwljgphafzb.com/]jfwljgphafzb[/url], [link=http://xfqrizmuvztz.com/]xfqrizmuvztz[/link], ​http://lkxzvtfiodqf.com/+===== Question:​Spamassassin Problem =====  
 + 
 +Using spamassassin as a sendmail milter to filter all email for viruses and spam.  
 + 
 +Also using myrulesdujour ​http://www.exit0.us/index.php?​pagename=RulesDuJour to keep the rules up to date 
 + 
 +BUT  ran into problem where the rulesdujour run was failing after linting the rules and then undoing the download (it may bave been failing on existing rules before the updatedIm not sure where these rules were coming from ! My brute force fix was to adjust the maximum length of the lint check for description,​ i dont kno if that will break anything else, just going to wait and see. 
 + 
 + 
 + 
 +  ​[root@spamfilter Conf]# spamassassin --lint 
 + 
 +  warningdescription for LC_ESMTP_RCVD is over 50 chars 
 +  warning: description for RM_hr_HeloSender is over 50 chars 
 +  warning: description for RM_hxl_ForgedIndy is over 50 chars 
 +  warning: description for RM_fw_LeadingPrep is over 50 chars 
 +  warning: description for RM_fl_ConsWord9 is over 50 chars 
 + 
 +  lint: 5 issues detected ​please rerun with debug enabled for more information. 
 + 
 +I edited the file  
 + 
 +/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/​Conf/​Parser.pm 
 + 
 +and changed  
 + 
 +  if (length($v) > 50) { 
 +        warn "​warning:​ description for $k is over 50 chars\n";​ 
 +        $conf->​{errors}++;​ 
 +      } 
 + 
 + 
 +to  
 + 
 +  if (length($v) > 70) { 
 +        warn "​warning:​ description for $k is over 70 chars\n";​ 
 +        $conf->​{errors}++;​ 
 +      } 
 + 
 + 
 +and got rid of the errors for those rules  
 + 
 +{{http://counter.rapidcounter.com/counter/​1131420726/​a&​.png?​64x16&​nocache}} 
faq/spamassassin_notes.txt · Last modified: 2014/06/28 00:57 (external edit)