On Mon, Sep 08, 2008 at 09:18:38PM -0600, Brett Millett wrote:
>
> I was hoping to completely bypass spamassassin for mail originating in the
> local ip range or at least strip those emails of any spam checking
> headers. Any ideas how to accomplish this?
> 
> The mail server is running Debian with Sendmail, spamassassin milter,
> and spamassassin configured site-wide. The milter is accessed via
> sendmail.mc line:
> 
> INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/sendmail/spamass.sock
> , F=,T=S:4m;R:4m;E:10m')dnl

man spamass-milter

 -i networks
       Ignores messages if the originating IP is in the network(s)
       listed.  The message will be passed through without calling Spa-
       mAssassin at all.  networks is a comma-separated list, where each
       element can be either an IP address (nnn.nnn.nnn.nnn), a CIDR
       network (nnn.nnn.nnn.nnn/nn), or a network/netmask pair
       (nnn.nnn.nnn.nnn/nnn.nnn.nnn.nnn).  Multiple -i flags will append
       to the list.  For example, if you list all your internal net-
       works, no outgoing emails will be filtered.


Reply via email to