[Mimedefang] filter_relay rejected host. (DNSBL)
David F. Skoll
dfs at roaringpenguin.com
Fri Mar 21 09:30:58 EDT 2014
On Fri, 21 Mar 2014 08:43:22 +0100
Lars Bjærris <lars at daxzuli.com> wrote:
> sub filter_relay {
>
> my ( $ip, $name, $helo) = @_;
> if (relay_is_blacklisted($ip, ‘zen.spamhaus.org’)) {
> return(‘REJECT’, ‘You are listed in zen.spamhaus.org’);
> }
> }
You don't return anything meaningful if the relay is *not* blacklisted.
You need to add:
return ('CONTINUE', 'OK');
after the closing brace that terminates the if statement.
Regards,
David.
More information about the MIMEDefang
mailing list