https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6618
Bug #: 6618
Summary: spamd gives no error when rules directories are
missing, poor error on empty rules dir
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
This problem was just reported on IRC by jocom, and google searching indicates
others have hit it. jocom's running archlinux, others on freebsd.
On my (Ubuntu) system, running trunk, removed /usr/share/spamassassin/ and
/var/lib/spamassassin/, then created /var/lib/spamassassin/3.004000 (empty),
then:
# /etc/init.d/spamassassin start
Starting SpamAssassin Mail Filter Daemon: child process [10691] exited or timed
out without signaling production of a PID file: exit 255 at /usr/sbin/spamd
line 2643.
This error should instead state that the rules are missing and you need to run
sa-update, much like these do:
# spamassassin -t < /dev/null
config: no rules were found! Do you need to run 'sa-update'? at
/usr/bin/spamassassin line 403.
# spamassassin --lint
config: no rules were found! Do you need to run 'sa-update'?
If all rules directories are completely missing, the behavior is even worse, no
error at all.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.