Bugzilla – Bug 141557
spamd complains about wrong options when starting
Last modified: 2006-01-12 09:09:12 UTC
on STABLE: mfabian@magellan:~$ sudo rcspamd start Starting spamd done mfabian@magellan:~$ [4763] warn: Unknown option: a Usage: spamd [options] Options: -l, --allow-tell Allow learning/reporting -c, --create-prefs Create user preferences files -C path, --configpath=path Path for default config files --siteconfigpath=path Path for site configs -d, --daemonize Daemonize -h, --help Print usage message. -i [ipaddr], --listen-ip=ipaddr Listen on the IP ipaddr -p port, --port=port Listen on specified port -m num, --max-children=num Allow maximum num children --min-children=num Allow minimum num children --min-spare=num Lower limit for number of spare children --max-spare=num Upper limit for number of spare children --max-conn-per-child=num Maximum connections accepted by child before it is respawned --round-robin Use traditional prefork algorithm --timeout-tcp=secs Connection timeout for client headers --timeout-child=secs Connection timeout for message checks -q, --sql-config Enable SQL config (only useful with -x) -Q, --setuid-with-sql Enable SQL config (only useful with -x, enables use of -H) --ldap-config Enable LDAP config (only useful with -x) --setuid-with-ldap Enable LDAP config (only useful with -x, enables use of -H) --virtual-config-dir=dir Enable pattern based Virtual configs (needs -x) -r pidfile, --pidfile Write the process id to pidfile -s facility, --syslog=facility Specify the syslog facility --syslog-socket=type How to connect to syslogd -u username, --username=username Run as username -v, --vpopmail Enable vpopmail config -x, --nouser-config Disable user config files --auth-ident Use ident to authenticate spamc user --ident-timeout=timeout Timeout for ident connections -A host,..., --allowed-ips=..,.. Limit ip addresses which can connect -D, --debug[=areas] Print debugging messages (for areas) -L, --local Use local tests only (no DNS) -P, --paranoid Die upon user errors -H [dir], --helper-home-dir[=dir] Specify a different HOME directory --ssl Run an SSL server --server-key keyfile Specify an SSL keyfile --server-cert certfile Specify an SSL certificate --socketpath=path Listen on given UNIX domain socket --socketowner=name Set UNIX domain socket file's owner --socketgroup=name Set UNIX domain socket file's group --socketmode=mode Set UNIX domain socket file's mode
mfabian@magellan:~$ cat /etc/sysconfig/spamd ## Path: Network/Mail/Spamassassin ## Description: Arguments for the spam daemon ## Type: string ## Default: "-d -c -L" ## ServiceRestart: spamd # The arguments passed to spamd. # See spamd(1) man page and README.spamd # Please take care of security considerations! # Default is "-d -c -a" SPAMD_ARGS="-d -c -a" mfabian@magellan:~$
I could not reproduce this bug. I`ve installed a `SUSE LINUX 10.0.42 (i586) OSS Alpha4` and the default setting was OK on this system: varkoly@linux:~> cat /etc/SuSE-release SUSE LINUX 10.0.42 (i586) OSS Alpha4 VERSION = 10.0.42 varkoly@linux:~> cat /etc/sysconfig/spamd ## Path: Network/Mail/Spamassassin ## Description: Arguments for the spam daemon ## Type: string ## Default: "-d -c -L" ## ServiceRestart: spamd # # The arguments passed to spamd. # See spamd(1) man page. # Default is "-d -c -L" SPAMD_ARGS="-d -c -L" Can I have a look on your system?
My machine is "magellan.suse.de". It is not a reinstallation but an *update* from SuSE 10.0. Maybe there is something wrong when updating?
You the same problem on baker.suse.de and shannon.suse.de. Both are updated from 10.0 as well and still have the "-a" option in /etc/sysconfig/spamd which apparently doesn't exist any more.
I can not become root rights on the systems above, so I can not test it. Please set the usual root password.
OK.
fixed now by update the /etc/sysconfig/spamd file will be parsed if this contains the option -a. If yes this will be removed.