[Mimedefang] Bypassing outgoing mail
Adam Beatham
adam at backboard.org
Fri Feb 21 15:06:01 EST 2003
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
More information about the MIMEDefang
mailing list