Line 16: |
Line 16: |
| | | |
| =====Enable qplogsumm===== | | =====Enable qplogsumm===== |
− | qplogsumm.pl is disabled by default. Enable it with | + | qplogsumm.pl is disabled by default in smeserver-qpsmtpd-1.2.1-52.el4.sme and later ([[bugzilla:3727|Bug 3727]]). Enable it with |
| config setprop qpsmtpd qplogsumm enabled | | config setprop qpsmtpd qplogsumm enabled |
| signal-event email-update | | signal-event email-update |
| | | |
| ======Force first log rotation====== | | ======Force first log rotation====== |
− | qplogsumm.pl only updates its statistics when the qpsmtpd log file is rotated. This can take several days on a moderately busy server, and might take weeks or months on a small, home server. | + | qplogsumm.pl only updates its statistics when the qpsmtpd log file is rotated. This can take several days on a moderately busy server, and could take weeks or months on some servers. |
| | | |
− | You can force a rotation of the qpsmtpd log files in order to generate initial data in [[tt]/var/log/qpsmtpd/state[/tt] using | + | You can force a rotation of the qpsmtpd log files in order to generate initial data in <tt>/var/log/qpsmtpd/state</tt> using |
| kill -ALRM `cat /var/service/qpsmtpd/log/supervise/pid` | | kill -ALRM `cat /var/service/qpsmtpd/log/supervise/pid` |
| | | |
| ======Potential Problems====== | | ======Potential Problems====== |
− | qplogsumm.pl will completely lock all in-bound email if [tt]/var/log/qpsmtpd/state[/tt] is missing when multilog attempts to rotate the qpsmtpd log file. This can be resolved using | + | qplogsumm.pl will completely lock all in-bound email if <tt>/var/log/qpsmtpd/state</tt> is missing when multilog attempts to rotate the qpsmtpd log file ([[bugzilla:3393|Bug 3393]]). This can be resolved using |
| touch /var/log/qpsmtpd/state | | touch /var/log/qpsmtpd/state |
| sv restart /var/log/qpsmtpd | | sv restart /var/log/qpsmtpd |