[Mimedefang] filter_relay doesn't seem to work.
David F. Skoll
dfs at roaringpenguin.com
Fri Jun 27 17:14:01 EDT 2003
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.
More information about the MIMEDefang
mailing list