Bug 124870 - spamd: -a no longer exists
Summary: spamd: -a no longer exists
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: spamassassin
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Chip Turner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 123710
TreeView+ depends on / blocked
 
Reported: 2004-05-31 19:27 UTC by Ville Skyttä
Modified: 2007-11-30 22:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-01 09:05:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2004-05-31 19:27:48 UTC
The -a option to spamd no longer exists and should be removed from
spamassassin.sysconfig.  See /var/log/messages when (re)starting
spamassassin.

Comment 1 Warren Togami 2004-05-31 22:22:42 UTC
# -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?

Comment 2 Ville Skyttä 2004-05-31 23:05:38 UTC
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.

Comment 3 Warren Togami 2004-06-01 08:50:29 UTC
checked in... still waiting on build system


Note You need to log in before you can comment on or make changes to this bug.