Martin Blapp wrote:

> Feb  2 21:26:40 mx2 sm-mta[12574]: k12KQenP012574: Milter: connect:
> host=mail22.bluewin.ch, addr=195.186.19.66, rejecting commands

[...]

> sub filter_relay {
>         my ($ip, $name) = @_;
> 
>         if($ip eq "10.0.0.1") {
>         return ('REJECT', "Too many spam-mails from $ip, $name is
> blacklisted.");
>         }
>         return ('CONTINUE', "ok");
> }

Are you seeing any stderr output from the slaves?  (Assuming you're
passing "-l" to the multiplexor.  If not, please pass "-l" to the
multiplexor!)

Can you put some md_syslog calls in your filter_relay?

What happens if you type:

md-mx-ctrl relayok 10.0.0.1 '[10.0.0.1]'

?

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 [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to