> -----Original Message-----
> From: Mike Campbell [mailto:[EMAIL PROTECTED]

> 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


 
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to