[CentOS] Disabling Spamassassin on outbound email

Greg Bailey gbailey at lxpro.com
Mon May 11 15:20:11 UTC 2009


John Hinton wrote:
> Does anybody have a good method for disabling SA checks on outbound 
> email under sendmail running the spamass milter? Some of our Vhost 
> accounts are getting flagged as spam on the way out due to being on a 
> dirty ISP network.
>
> John Hinton
>
>   

I got around this by modifying /etc/sysconfig/spamass-milter, and using 
the "-i" option to ignore various IP addresses and/or networks.  See 
spamass-milter(8).

So your /etc/sysconfig/spamass-milter might be changed to be:

--- spamass-milter.default      2007-03-08 11:40:11.000000000 -0700
+++ spamass-milter      2008-11-01 15:05:03.000000000 -0700
@@ -3,4 +3,4 @@
 
 ### Default parameter for spamass-milter is -f (work in the background)
 ### you may add another parameters here, see spamass-milter(1)
-#EXTRA_FLAGS="-m -r 15"
+EXTRA_FLAGS="-m -r 5 -i aaa.bbb.ccc.ddd,eee.fff.ggg.0/24"

...etc.

-Greg




More information about the CentOS mailing list