[Mimedefang] filter_relay not working?
Kris Deugau
kdeugau at webhart.net
Thu Feb 12 14:42:45 EST 2004
Mike Smith wrote:
> Basically I want to stream
> everything through that comes from a certain relay with no further
> checking. I was thinking something like this....
>
> sub filter_relay {
> my($ip, $name, $helo) = @_;
> if($ip eq "xxx.xx.xx.xx") {
> return('ACCEPT_AND_NO_MORE_FILTERING', "ok");
> }
> else {
> return('CONTINUE', "ok");
> }
> }
That should work. I used almost exactly that on one mail server for a
while to allow another one to relay out through it due to some RBL
trouble.
-kgd
--
"Sendmail administration is not black magic. There are legitimate
technical reasons why it requires the sacrificing of a live chicken."
- Unknown
More information about the MIMEDefang
mailing list