Changes

From SME Server
Jump to navigationJump to search
489 bytes removed ,  19:27, 10 October 2007
Line 48: Line 48:  
* ''.u: This file was being created at the moment of an outage. It may have been truncated. It has not been processed.''
 
* ''.u: This file was being created at the moment of an outage. It may have been truncated. It has not been processed.''
   −
While these files should not be generated under normal circumstances, they are (as attested by personal experience, forum posts and bug reports).  In order to include these files when reporting email statistics, you will need to modify /etc/cron.d/mailstats.cron by changing
+
The latest version of mailstats.cron will process "@*" and "current", so will catch all log filesEarlier versions only processed "*.s" and "current".
  0    0  *    *  *    root    perl /usr/bin/spamfilter-stats-7.pl /var/log/qpsmtpd/'''*.s''' /var/log/qpsmtpd/current
+
 
to
  −
0    0  *    *  *    root    perl /usr/bin/spamfilter-stats-7.pl /var/log/qpsmtpd/'''*.[us]''' /var/log/qpsmtpd/current
  −
or
  −
0    0  *    *  *    root    perl /usr/bin/spamfilter-stats-7.pl /var/log/qpsmtpd/'''@*''' /var/log/qpsmtpd/current
   
====qplogtail====
 
====qplogtail====
 
qplogtail is a script intended to help monitor /var/log/qpsmtpd/current and extract a concise but meaningful display of what the server is up to.
 
qplogtail is a script intended to help monitor /var/log/qpsmtpd/current and extract a concise but meaningful display of what the server is up to.

Navigation menu