SA Bugzilla – Bug 3884
spamd: wrong ident and facility in syslog messages
Last modified: 2005-07-23 10:06:34 UTC
It seems that spamd loses ident and facility for syslog() calls after forking: /var/log/mail.log Oct 7 17:28:37 fred spamd[7376]: spamd starting /var/log/messages: Oct 7 17:28:41 fred check[7390]: server started on port 783/tcp (running version 3.0.0) Oct 7 17:28:41 fred check[7390]: server successfully spawned child process, pid 7413 Oct 7 17:28:41 fred check[7390]: server successfully spawned child process, pid 7414 However, after I patched the spamd code as follows, everything seems to be fine. 1692c1692 < eval { syslog( 'info', "%s", $msg ); }; --- > eval { openlog_for_spamd(); syslog( 'info', "%s", $msg ); };
this should be working in HEAD, can you test on the latest nightly build of the pre-3.1 tree (available from downloads)
The logging code changed significantly between 3.0.0 and 3.1.0, so this code likely changed, and I suspect this is fixed. Please reopen if you still see this.