[Mimedefang] Bypassing outgoing mail
Joshua Bowser
sysadmin at greenwood.net
Fri Feb 21 15:14:01 EST 2003
Mine is near the bottom... no big deal I don't think.
-Joshua-
-----Original Message-----
From: mimedefang-admin at lists.roaringpenguin.com
[mailto:mimedefang-admin at lists.roaringpenguin.com] On Behalf Of Adam
Beatham
Sent: Friday, February 21, 2003 3:05 PM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] Bypassing outgoing mail
is filter_relay() supposed to be placed in any particular spot in the
filter?
-adam
At 02:51 PM 2/21/2003 -0500, you wrote:
>On Fri, 21 Feb 2003, Todd Aiken wrote:
>
> > to figure out how to do that. If someone could show me how to
bypass the
> > checking of mail from a single host (where all of our outgoing mail
> > originates from) I would appreciate it. Even though I feel their
site
>
>Make sure mimedefang runs with -r (set MX_RELAY_CHECK=yes if you use
the
>generic init script). Then put a filter_relay() in your filter.
Assuming
>the host's IP is 1.2.3.4:
>
>sub filter_relay ($$$) {
> my ($ip, $name, $helo) = @_;
> return('ACCEPT_AND_NO_MORE_FILTERING', "ok") if $ip eq "1.2.3.4";
>}
>
>--
>Jason Englander <jason at englanders.cc>
>394F 7E02 C105 7268 777A 3F5A 0AC0 C618 0675 80CA
>
>_______________________________________________
>MIMEDefang mailing list
>MIMEDefang at lists.roaringpenguin.com
>http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
-adam ...the guy behind the guy behind the guy
_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list