On Tue, 25 Feb 2014, Nigel Horne wrote:
> From the man page:
> 
>      -i networks
>              Ignores messages if the originating IP is in the network(s)
>              listed.
> 
> It does not say "but only if you don't change the default
> configuration file". According to the man page if I have -i 127.0.0.1
> it should not scan from the localhost. I don't see how the fact that
> I've changed the configuration file would break anything.

Your configuration file currently does not pass a -i option at all.

> >>>-- Configuration Files:
> >>>/etc/default/spamass-milter changed:
> >>>OPTIONS="-u spamass-milter -i 127.0.0.1 -i 192.168.1.0/8 -i 208.113.207.5 
> >>>-i 208.113.189.44 -r 8 -I"
> >>>SOCKET="inet:10783@127.0.0.1"
> >>>SOCKETMODE=""
> >>>SOCKETOWNER=""
> >>>OPTIONS="-r 6"
> >You want OPTIONS="$OPTIONS -r 6" or similar. [Or better, just delete
> >this line, and change the -r 8 above it to -r 6.]
> 
> I don't understand this either. How does changing the -r level prevent
> scanning of locally sourced e-mails? According to the man page -r is
> to do the the rejection level, it has nothing to do with white-listing
> the localhost.

Currently, your configuration file is equivalent to this:

SOCKET="inet:10783@127.0.0.1"
SOCKETMODE=""
SOCKETOWNER=""
OPTIONS="-r 6"

Presumably, you want this instead: 

OPTIONS="-u spamass-milter -i 127.0.0.1 -i 192.168.1.0/8 -i 208.113.207.5 -i 
208.113.189.44 -r 6 -I"
SOCKET="inet:10783@127.0.0.1"
SOCKETMODE=""
SOCKETOWNER=""

The second OPTIONS="" statement overrides the first one.

[The next release I make has changed the configuration file to clarify
this.]

-- 
Don Armstrong                      http://www.donarmstrong.com

She was alot like starbucks.
IE, generic and expensive.
 -- hugh macleod http://www.gapingvoid.com/Moveable_Type/archives/001376.html


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to