[Mimedefang] Bypassing outgoing mail
Todd Aiken
taiken at ubishops.ca
Fri Feb 21 15:04:01 EST 2003
> 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";
It was the MX_RELAY_CHECK=yes that was missing. Once I modified my init
file, everything started working great. Thanks very much!
CU L8R...
Todd A. Aiken
Systems Analyst - Administrator
Cole Computer Centre
BISHOP'S UNIVERSITY
Lennoxville, Quebec, CANADA
-----BEGIN GEEK CODE BLOCK-----
Version 3.12 (http://www.geekcode.com)
GCS$/MU d+(-) s++:+ a C++$ UL++++$ P+ L++ E->+ W+>++ N++ o? K-
w O- M V? PS PE- Y PGP- t+ 5 X R- tv+ b DI(+) D++ G e+ h !r>r+++ y-
------END GEEK CODE BLOCK------
More information about the MIMEDefang
mailing list