[Mimedefang] filter_relay doesn't seem to work.

Wayne wayne at hamilton.net
Fri Jun 27 22:57:01 EDT 2003


Figured it out looks like my init-script wasn't setting -r or -s even with
MX_RELAY_CHECK=yes. I fixed and things are working fine.

Wayne
----- Original Message ----- 
From: "David F. Skoll" <dfs at roaringpenguin.com>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Friday, June 27, 2003 4:13 PM
Subject: Re: [Mimedefang] filter_relay doesn't seem to work.


> On Fri, 27 Jun 2003, Wayne wrote:
>
> > sub filter_relay
> > {
> > my($ip, $name, $helo) = @_;
> > return('REJECT', "|$ip|$name|$helo|");
> > }
>
> Works fine for me.  Here's a transcript.  <<< is what the server said and
> >>> is what I typed:
>
> $ telnet blacky 25
> Trying 192.168.2.7...
> Connected to blacky.
> Escape character is '^]'.
> <<< 220 blacky.roaringpenguin.com ESMTP Sendmail 8.12.8/8.12.8 ...
> >>> HELO zub
> <<< 250 blacky.roaringpenguin.com Hello shishi.roaringpenguin.com
[192.168.2.3], pleased to meet you
> >>> MAIL FROM:<foo at sun.com>
> <<< 554 5.7.1 |192.168.2.3|shishi.roaringpenguin.com|zub|
>
> Did you restart MIMEDefang after editing mimedefang.conf?
>
> --
> David.
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang




More information about the MIMEDefang mailing list