Line 28: |
Line 28: |
| 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. |
| | | |
− | qplogtail extracts 5 kinds of information:<ol> | + | qplogtail extracts 6 kinds of information:<ol> |
| <li> Normal connections:<br> | | <li> Normal connections:<br> |
| ''28545 Accepted connection 4/30 from 86.139.2.73 ...'' | | ''28545 Accepted connection 4/30 from 86.139.2.73 ...'' |
Line 39: |
Line 39: |
| </li><li> Messages queued for delivery:<br> | | </li><li> Messages queued for delivery:<br> |
| ''<nowiki>15587 logging::logterse plugin: ` 128.220.32.40 miami.deuvis.com miami.deuvis.com <aapple@deuvis.com> <c.wolf@ncxr.org> queued <200709270344.l8R3iq0b010299@deuvis.com> No, hits=-2.6 required=5.0_</nowiki>'' | | ''<nowiki>15587 logging::logterse plugin: ` 128.220.32.40 miami.deuvis.com miami.deuvis.com <aapple@deuvis.com> <c.wolf@ncxr.org> queued <200709270344.l8R3iq0b010299@deuvis.com> No, hits=-2.6 required=5.0_</nowiki>'' |
| + | </li><li> Connection time values from the connection_time plugin (if present)<br> |
| + | ''@4000000048641d5c0951f6a4 15110 connection_time plugin: Connection time from 209.74.246.66: 1.566 sec.'' |
| </li></ol> | | </li></ol> |
| | | |
− | Each smtp transaction will generate two lines of output containing: | + | Each normal smtp transaction will generate two lines of output containing: |
| msgid remote_ip x/40 | | msgid remote_ip x/40 |
| msgid remote_ip dispostion details | | msgid remote_ip dispostion details |
| + | |
| + | If you have the [[qpsmtpd_connection_time|connection_time]] plugin installed, you will also get: |
| + | msgid remote_ip timeconnected |
| | | |
| Sample output: | | Sample output: |
| # qplogtail | | # qplogtail |
− | <nowiki>14868 209.74.246.66 0/30 | + | <nowiki>14868 209.74.246.66 0/40 |
| 14868 209.74.246.66 check_basicheaders msg denied before queued | | 14868 209.74.246.66 check_basicheaders msg denied before queued |
| 14868 209.74.246.66 1.622 sec. | | 14868 209.74.246.66 1.622 sec. |
− | 14879 200.127.59.114 0/30 | + | 14879 200.127.59.114 0/40 |
| 14879 200.127.59.114 dnsbl msg denied before queued | | 14879 200.127.59.114 dnsbl msg denied before queued |
| 14879 200.127.59.114 2.874 sec. | | 14879 200.127.59.114 2.874 sec. |
− | 14890 69.147.64.214 0/30 | + | 14890 69.147.64.214 0/40 |
| 14890 69.147.64.214 queued No, hits=-2.6 required=5.0_ | | 14890 69.147.64.214 queued No, hits=-2.6 required=5.0_ |
| 14890 69.147.64.214 7.433 sec.</nowiki> | | 14890 69.147.64.214 7.433 sec.</nowiki> |