Package: spamass-milter

Version: 0.3.2-1

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. :)

Reply via email to