On Fri, 21 Mar 2014 08:43:22 +0100
Lars Bjærris <l...@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.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to