Control: severity -1 minor
Control: tag -1 pending

On Wed, 12 Dec 2012, Matt Jamison wrote:
> Upon setting up a new postfix/spamassassin relay with spamass-milter,
> the options in /etc/default/spamass-milter were not being picked up.
> 
> After reading the init.d script it because clear that when . $DEFAULT;
> was being executed, it was reading 3 OPTIONS in the file and were
> overwriting each other until the last OPTIONS line "-m".
> 
> The fix is to put all of the OPTIONS on 1 line in
> /etc/default/spamass-milter or code like say..
> 
> OPTIONS="-u spamass-milter -i 10.0.2.23"
> 
> # Reject emails with spamassassin scores > 15.
> OPTIONS="${OPTIONS} -r 15"
> 
> # Do not modify Subject:, Content-Type: or body.
> OPTIONS="${OPTIONS} -m"
> 
> Then the init script picks up all OPTIONS. :)

Right; I just assumed that it was obvious that only one OPTIONS would
take effect... but clearly doing it this way would make someone less
likely to make this mistake.

Thanks for reporting this bug!


Don Armstrong

-- 
6: I'm human. I have a thousand flaws. I break down. I get up or I
don't get up. I get lost. I make the same mistakes over and over. I
have scars and wounds. Sometimes when I can't bear them anymore, I
drink. You can't fix me. You can't fix any of us. You can't make us
perfect.
 -- "The Prisoner (2009 Miniseries)" _Checkmate_

http://www.donarmstrong.com              http://rzlab.ucr.edu


-- 
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