You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/04/02 05:12:28 UTC
[Bug 4238] New: spamd requires reboot to force re-reading of rules file?
http://bugzilla.spamassassin.org/show_bug.cgi?id=4238
Summary: spamd requires reboot to force re-reading of rules file?
Product: Spamassassin
Version: unspecified
Platform: Other
OS/Version: other
Status: NEW
Severity: major
Priority: P5
Component: spamc/spamd
AssignedTo: dev@spamassassin.apache.org
ReportedBy: vlb@cfcl.com
I have been told, and the man page says, that all I need to do to cause spamd to
re-read the config file (/etc/mail/spamassassin/local.cf) is to restart or HUP
the daemon.
Several times now, my experience has shown that this is NOT enough.
I hup the daemon (all running instances) but it still shows no evidence of using
the new tests. Only after I restart the computer, ensurng the absolute
nunquestionable restart of the daemon, do the rules get used.
A few days ago I added the following rule:
header CF_DEAR_OCCUPANT X-Procmail =~ /\[DEAR-OCCUPANT\]/i
score CF_DEAR_OCCUPANT 0.5
describe CF_DEAR_OCCUPANT Not explicitly To (or Cc) me
the X-Procmail headers are addedby procmail before the
:0fw
| /usr/local/bin/spamc -s 256000 -t 60
I have restarted the spamd processes with kill -HUP to their PIDs. I have seen
no evidence of the CF_DEAR_OCCUPANT tag in mail clearly marked with
X-Procmail: [DEAR-OCCUPANT]
Finally, this afternoon, I rebooted as an "experiment".
Almost the first piece of spam I received after the reboot had these headers:
To: james lewis <ji...@pjmathison.com>
Subject: Gov't Tech Spending
From: james lewis <ji...@pjmathison.com>
Date: Fri, 1 Apr 2005 20:27:14 -0500
X-Procmail: [DEAR-OCCUPANT]
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on cfcl.com
X-Spam-Level:
X-Spam-Status: Yes, score=0.5 required=0.5 tests=CF_DEAR_OCCUPANT
autolearn=disabled version=3.0.2
I would really appreciate it if someone looked into this. I should not need to
reboot to force the daemon to use new tests in my .cf file.
The platform is FreeBSD 4.7 with Perl 5.8.5
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4238] spamd requires reboot to force re-reading of rules file?
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4238
spamassassin-contrib@msquadrat.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From spamassassin-contrib@msquadrat.de 2005-04-02 02:45 -------
This is most probably a dup of bug 3577: spamd drops too many privileges so
reloading it via SIGHUP doesn't work. This was fixed for 3.1.
BTW: You do not need to reboot your box, all you need to do is restarting
spamd.
*** This bug has been marked as a duplicate of 3577 ***
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.