[Mimedefang] Bypassing outgoing mail
Jason Englander
jason at englanders.cc
Fri Feb 21 14:52:02 EST 2003
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
More information about the MIMEDefang
mailing list