On 07/09/2013 05:41 PM, Kevin A. McGrail wrote:
On 7/9/2013 10:18 AM, RW wrote:
I was wondering when perl REs are compiled in spamd. My understanding
is that perl compiles REs when they are first evaluated. Is anything
done to make this happen in the spamd parent?
To the best of my knowledge, Spamd must be restarted to reflect changed
rules, compiled or otherwise.
FTR:
http://spamassassin.apache.org/full/3.3.x/doc/spamd.html sez:
Note: Although "spamd" will check per-user config files for every
message, any changes to the system-wide config files will require either
restarting spamd or forcing it to reload itself via SIGHUP for the
changes to take effect.
Note: If "spamd" receives a SIGHUP , it internally reloads itself, which
means that it will change its pid and might not restart at all if its
environment changed (ie. if it can't change back into its own
directory). If you plan to use SIGHUP , you should always start "spamd"
with the -r switch to know its current pid.