Hello David,
I was searching for this! Our ISP's DNS systems are now and then unreachable and that interferes with sending out e-mails from within the LAN beceause no RBL servers can be reached.
If this DNS failure occurs, some 60 users are stuck as their application freezes when outgoing mail can not be accepted by the SME server in a timely matter. The only workaround at this moment is to run a script that disables the RBL lookups to enable e-mail delivery to the SME. But that is not desired as the spam flows in as soon as the DNS of the ISP is up again....
Any way, as far as I can tell, the scripts in your HOWTO assume a netmask of 255.255.255.0. We run a non standard netmask of 255.255.252.0. Will changing the part ($_ eq "255") into ($_ eq "252") enable passing the rbl for local sent mail with our netmask i.e. :
foreach ( @maskBytes )
{
last unless ($_ eq "255");
unshift(@result, shift(@addressBytes));
}
Into:
foreach ( @maskBytes )
{
last unless ($_ eq "252");
unshift(@result, shift(@addressBytes));
}
Greetz,
Geert Jansen