The -a option to spamd no longer exists and should be removed from spamassassin.sysconfig. See /var/log/messages when (re)starting spamassassin.
# -a and --auto-whitelist options were removed from 3.0.0 # prevent service startup failure perl -p -i -e 's/ -a//' /etc/sysconfig/spamassassin perl -p -i -e 's/ --auto-whitelist//' /etc/sysconfig/spamassassin I added this to %post in CVS last night, but rebuild failed due to a build system problem. Would you consider this to be acceptable?
Ah, ok, apparently I was working with an older version (spamassassin-3.0-0.0.svn20040524). I guess the above would work for 95% cases. It would fail in the case of bundled options though, like " -dac", and would actually break the config in some cases (eg. " -adc"). Coming up with regexps that would work for all cases might get butt-ugly, like replacing the first one with something like (still not perfect): 's/(["\s]-\w+)a/$1/ ; s/(["\s]-)a(\w+)/$1$2/ ; s/(["\s])-a\b/$1/' But anyway the "-a" should be removed from the "vanilla" spamassassin.sysconfig as distributed with the 3.0 rpm unless already done.
checked in... still waiting on build system