Line 45: |
Line 45: |
| '''Important:''' Since incoming messages will not reach qmail if they have been denied by any of the ''qpsmtpd'' spam-fighting features, you cannot get any spam blocking information from the qmail logs. | | '''Important:''' Since incoming messages will not reach qmail if they have been denied by any of the ''qpsmtpd'' spam-fighting features, you cannot get any spam blocking information from the qmail logs. |
| | | |
| + | === Mail log file analysis === |
| ''Mail log file analysis'' in the server-manager provides access to several reports regarding ''qmail''. | | ''Mail log file analysis'' in the server-manager provides access to several reports regarding ''qmail''. |
| | | |
| All of the reports below except for ''Summarize status of mail queue'' examine all of the current qmail log files (''/var/log/qmail/@*'' and ''/var/log/qmail/current''). | | All of the reports below except for ''Summarize status of mail queue'' examine all of the current qmail log files (''/var/log/qmail/@*'' and ''/var/log/qmail/current''). |
| | | |
− | === Basic Statistics === | + | ==== Basic Statistics ==== |
| <nowiki>qtime is the time spent by a message in the queue. | | <nowiki>qtime is the time spent by a message in the queue. |
| | | |
Line 79: |
Line 80: |
| Average concurrency: 0.000607221</nowiki> | | Average concurrency: 0.000607221</nowiki> |
| | | |
− | === List outgoing messages and recipients === | + | ==== List outgoing messages and recipients ==== |
| | | |
− | === Reasons for deferral === | + | ==== Reasons for deferral ==== |
| <nowiki>Reasons for deferral | | <nowiki>Reasons for deferral |
| | | |
Line 88: |
Line 89: |
| * xdelay is the total xdelay on those deliveries.</nowiki> | | * xdelay is the total xdelay on those deliveries.</nowiki> |
| | | |
− | === Reasons for failure === | + | ==== Reasons for failure ==== |
| <nowiki>Reasons for failure | | <nowiki>Reasons for failure |
| | | |
Line 98: |
Line 99: |
| </nowiki> | | </nowiki> |
| | | |
− | === Reasons for success === | + | ==== Reasons for success ==== |
| <nowiki>Reasons for success | | <nowiki>Reasons for success |
| | | |
Line 107: |
Line 108: |
| del xdelay reason</nowiki> | | del xdelay reason</nowiki> |
| | | |
− | === Recipient hosts === | + | ==== Recipient hosts ==== |
| <nowiki>Recipient hosts | | <nowiki>Recipient hosts |
| | | |
Line 118: |
Line 119: |
| sbytes mess tries xdelay host</nowiki> | | sbytes mess tries xdelay host</nowiki> |
| | | |
− | === Recipients in best order for mailing lists === | + | ==== Recipients in best order for mailing lists ==== |
| <nowiki>Recipients in the best order for mailing lists | | <nowiki>Recipients in the best order for mailing lists |
| | | |
Line 127: |
Line 128: |
| avg tries recipient</nowiki> | | avg tries recipient</nowiki> |
| | | |
− | === Recipients statistics === | + | ==== Recipients statistics ==== |
| <nowiki>Recipients | | <nowiki>Recipients |
| | | |
Line 138: |
Line 139: |
| sbytes mess tries xdelay recipient</nowiki> | | sbytes mess tries xdelay recipient</nowiki> |
| | | |
− | === Sender statistics === | + | ==== Sender statistics ==== |
| <nowiki>Senders | | <nowiki>Senders |
| | | |
Line 152: |
Line 153: |
| mess bytes sbytes rbytes recips tries xdelay sender</nowiki> | | mess bytes sbytes rbytes recips tries xdelay sender</nowiki> |
| | | |
− | === Sender uids === | + | ==== Sender uids ==== |
| <nowiki>Sender uids | | <nowiki>Sender uids |
| | | |
Line 166: |
Line 167: |
| mess bytes sbytes rbytes recips tries xdelay uid</nowiki> | | mess bytes sbytes rbytes recips tries xdelay uid</nowiki> |
| | | |
− | === Sendmail style log === | + | ==== Sendmail style log ==== |
| Process and display the qmail log files in a format similar to sendmail's logs. | | Process and display the qmail log files in a format similar to sendmail's logs. |
| | | |
| Each transaction generates two lines, one with the ''from'' information and one with the ''to'' information. | | Each transaction generates two lines, one with the ''from'' information and one with the ''to'' information. |
| | | |
− | === Successful delivery delay distribution === | + | ==== Successful delivery delay distribution ==== |
| <nowiki>Distribution of ddelays for successful deliveries | | <nowiki>Distribution of ddelays for successful deliveries |
| | | |
Line 179: |
Line 180: |
| doneby avg pct</nowiki> | | doneby avg pct</nowiki> |
| | | |
− | === Summarize status of mail queue === | + | ==== Summarize status of mail queue ==== |
| '''Exception!'''<br> | | '''Exception!'''<br> |
| This report does not process the log files, but instead examines and reports on the actual contents of the qmail queues. | | This report does not process the log files, but instead examines and reports on the actual contents of the qmail queues. |