[Mimedefang] filter_relay not working?
Mike Smith
mike at ftl.com
Thu Feb 12 15:01:14 EST 2004
Like I said, I was trying a simple test since going off the example wasn't
working. I have looked at the man page and am still at a loss. Going from
the example, this should work no?
sub filter_relay {
my($ip, $name, $helo) = @_;
if($ip eq "xxx.xxx.xxx.xxx") { # ip of trusted relay
return('ACCEPT_AND_NO_MORE_FILTERING', "ok");
}
return('CONTINUE', "ok");
}
Yet I am still getting the following in my mailog on the primary servers.
Feb 12 11:40:20 mail sendmail[25006]: i1CJeJR9025006: Milter change:
header X-Spam-Status: from No, hits=0.693 required=5\n
version=SpamAssassin 2.63 tests=HTML_60_70,HTML_MESSAGE,TW_PK to No,
hits=-4.208 required=5\n version=SpamAssassin 2.63
tests=BAYES_00,HTML_60_70,HTML_MESSAGE,TW_PK
Feb 12 11:40:20 mail sendmail[25006]: i1CJeJR9025006: Milter delete:
header X-MIMEDefang-Relay-f51b9e097d9b9fa662d5b18428d4106953b47558:
10.0.0.1
The Relay-Key has been changed to protect my real one. Also the ip listed
after the delete X-MIMEDefang-Relay is not my relay/secondary server, but
the ip that I connected to the relay on...Is that right? Doesn't seem like
that's the way it's suppose to work.
Forgive me if I'm out in left field here.
=- Mike
-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of David F.
Skoll
Sent: Thursday, February 12, 2004 11:01 AM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] filter_relay not working?
On Thu, 12 Feb 2004, Mike Smith wrote:
> sub filter_relay {
> my($ip, $name, $helo) = @_;
> action_add_header("X-From:","$ip");
> }
Will not work.
See the mimedefang-filter man page for reasons why.
Regards,
David.
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3087 bytes
Desc: not available
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20040212/10c43841/attachment.bin>
More information about the MIMEDefang
mailing list