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
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang