[Mimedefang] Disabling spam checks on outgoing email
Damrose, Mark
mdamrose at elgin.edu
Mon Jul 26 16:12:16 EDT 2004
> -----Original Message-----
> From: Mike Campbell [mailto:mike.campbell at oracle.com]
> Therefore what I want to do is to disable the spam checks for
> outgoing
> mail. In the filter_end function is where the spam checks are
> done. Is
> there a way to determine in filter_end if the email is
> originating from
> my domain and to not spam check it?
Do you know the IP where all your outgoing mail is coming from?
Here's a snippet from my filter_end to show how I did it:
# Everything that follows is for SpamAssassin.
# If you wish to do anything else in filter_end, place it before
# this point, or modify the logic.
# Do not do SpamAssassin checks if mail from Exchange server is going
out.
return if ($RelayAddr eq "172.16.2.7");
return if ($RelayAddr eq "127.0.0.1");
If you stream by domain/recient, leave out the check for 127.0.0.1.
If you can't predict the IP, but your users authenticate, see page 122 of
http://mimedefang.org/static/mimedefang-lisa03.pdf
More information about the MIMEDefang
mailing list