[Logwatch-Devel] sendmail commit

Mike Tremaine mgt at stellarcore.net
Wed Jun 8 15:45:07 MST 2005


I just committed this small patch to the sendmail service. This should
catch some of the missed blackhole tags I'm getting....

[mgt at dwarfstar services]$ cvs diff sendmail
Index: sendmail
===================================================================
RCS file: /var/cvs/logwatch/scripts/services/sendmail,v
retrieving revision 1.53
diff -r1.53 sendmail
807a808,814
>    } elsif ( ($Relay,$BlSite) = ($ThisLine =~ /^ruleset=check_relay, arg1=([^,]*), arg2=[^,]*, reject=553\s*[\d.]*\s*.*http:\/\/([^\/]*)\//) ) {
>       #Example 553 error with NO RELAY -mgt
>       #ruleset=check_relay, arg1=s010600402b39ee29.vf.shawcable.net, arg2=127.0.0.2, reject=553 5.3.0
>       #Spam blocked see: http://spamcop.net/bl.shtml?70.68.8.182: 1 Time(s)
>       $Temp = "From " . $Relay . " by " . $BlSite;
>       $BlackHoled{$Temp}++;
>       $BlackHoles{$BlSite}++;

-- 
Mike Tremaine
mgt at stellarcore.net
http://www.stellarcore.net



More information about the Logwatch-Devel mailing list