http://bugzilla.spamassassin.org/show_bug.cgi?id=3884
Summary: spamd: wrong ident and facility in syslog messages
Product: Spamassassin
Version: 3.0.0
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
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 ); };
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.