Hello,

I have recently upgraded to SpamAssassin v 3.4.0. (on Fedora 16 64bit)


Everything works fine but after upgrade I have started to see double logging.

1) normal logging to /var/log/maillog in proper format

2) same lines repeated in /var/log/messages BUT in weird fashion

In previous version logs did not appear in /var/log/messages.

I have not changed anything from previous version. Same configuration.


Spamd is started with these options (via systemctl)

SPAMDOPTIONS="-m 15 -x '--virtual-config-dir=/var/spool/spamassassin/%u' -u 
mailnull -H"



Example lines in /var/log/messages: (when spamd starts)


Feb 23 19:05:55 localhost spamd[27768]: Feb 23 19:05:55.229 [27768] info: 
spamd: server pid: 27768
Feb 23 19:05:55 localhost spamd[27768]: Feb 23 19:05:55.230 [27768] info: 
spamd: server successfully spawned child process, pid 27771
Feb 23 19:05:55 localhost spamd[27768]: Feb 23 19:05:55.232 [27768] info: 
spamd: server successfully spawned child process, pid 27772
Feb 23 19:05:55 localhost spamd[27768]: Feb 23 19:05:55.233 [27768] info: 
prefork: child states: IS
Feb 23 19:05:55 localhost spamd[27768]: Feb 23 19:05:55.234 [27768] info: 
prefork: child states: II


When mail is scanned for spam, it logs these: (in /var/log/messages)


Feb 23 19:07:30 localhost spamd[27768]: Feb 23 19:07:30.436 [27768] info: 
prefork: child states: II
Feb 23 19:07:30 localhost spamd[27768]: Feb 23 19:07:30.466 [27771] info: 
spamd: connection from localhost [::1]:59659 to port 783, fd 6
Feb 23 19:07:30 localhost spamd[27768]: Feb 23 19:07:30.467 [27771] info: 
spamd: using default config for incoming: 
/var/spool/spamassassin/incoming/user_prefs
Feb 23 19:07:30 localhost spamd[27768]: Feb 23 19:07:30.472 [27771] info: 
spamd: checking message <201402231332....@xxx.com> for incoming:47
Feb 23 19:07:31 localhost spamd[27768]: Feb 23 19:07:31.700 [27771] info: 
spamd: clean message (1.1/5.0) for incoming:47 in 1.2 seconds, 7449 bytes.
Feb 23 19:07:31 localhost spamd[27768]: Feb 23 19:07:31.700 [27771] info: 
spamd: result: . 1 - HTML_MESSAGE,MIME_HTML_ONLY 
scantime=1.2,size=7449,user=incoming,uid=47,required_score=5.0,rhost=localhost,raddr=::1,rport=59659,mid=<201402231332....@xxx.com>,autolearn=no
 autolearn_force=no



As it can be seen timestamps come twice (second time with miliseconds)
plus it also prints loglevel i.e. info


I have not changed anything in rsyslog.conf either. Lines are:


*.info;mail.none;authpriv.none;cron.none                /var/log/messages
mail.*                                                  -/var/log/maillog

Any idea what is going on here? How to stop this?


Thanks in advance

Amish

Reply via email to