Changes

Jump to navigation Jump to search
2,341 bytes added ,  15:23, 8 November 2008
filter qpsmtpd logs for logterse entries from server-manager
Line 5: Line 5:  
====Server-Manager====
 
====Server-Manager====
 
Some email statistics can be seen from server-manager under "Administration", "Mail log file analysis"
 
Some email statistics can be seen from server-manager under "Administration", "Mail log file analysis"
 +
===== Incoming Email =====
 +
All in-bound SMTP connections are handled by qpsmtpd.
 +
 +
In order to view a condensed, one-line-per-message extract from the qpsmtpd log files:
 +
* Select ''View log files'' in server-manager
 +
* Specify '''qpsmtpd/current''' under ''Choose a log file to view''
 +
* Specify '''`''' (a single back-tick) under ''Filter Pattern (optional)''
 +
* Click ''Next''
 +
* Sample results are shown below
 +
** hopefully you will actually have ''some'' real email arriving at your server (not all ''dnsbl'' entries as shown here)
 +
** results are ''<tab>'' delimited, so you can easily ''Copy'' and ''Paste Special / Text'' into Excel for further analysis
 +
<nowiki>2008-11-08 06:32:46.354761500 26318 logging::logterse plugin: ` 89.223.216.72 apn-89-223-216-72.vodafone.hu apn-89-223-216-72.vodafone.hu <toshiter@donin.com> rhsbl 901 Not supporting null originator (DSN) msg denied before queued
 +
2008-11-08 06:33:17.924158500 26331 logging::logterse plugin: ` 208.99.214.236 mx22.ecreditchoices7.com mx22.ecreditchoices7.com <moneydiet2@mx22.ecreditchoices7.com> dnsbl 903 http://www.spamhaus.org/SBL/sbl.lasso?query=SBL69049 msg denied before queued
 +
2008-11-08 06:34:53.318459500 26358 logging::logterse plugin: ` 84.58.57.150 dslb-084-058-057-150.pools.arcor-ip.net rpemgmu.arcor-ip.net <sundered@ancientinc.com> dnsbl 903 http://www.spamhaus.org/query/bl?ip=84.58.57.150 msg denied before queued
 +
2008-11-08 06:35:41.724563500 26375 logging::logterse plugin: ` 58.126.113.198 Unknown [58.126.113.198] <benny@surecom.com> rhsbl 901 Not supporting null originator (DSN) msg denied before queued
 +
2008-11-08 06:37:31.730609500 26398 logging::logterse plugin: ` 87.103.146.91 pmsn.91.146.103.87.sable.dsl.krasnet.ru pmsn.91.146.103.87.sable.dsl.krasnet.ru <dwweem@wee.com> dnsbl 903 http://www.spamhaus.org/query/bl?ip=87.103.146.91 msg denied before queued
 +
2008-11-08 06:37:41.211401500 26409 logging::logterse plugin: ` 87.103.146.91 pmsn.91.146.103.87.sable.dsl.krasnet.ru pmsn.91.146.103.87.sable.dsl.krasnet.ru <dwtrupsm@trups.com> dnsbl 903 http://www.spamhaus.org/query/bl?ip=87.103.146.91 msg denied before queued</nowiki>
 +
 +
With the introduction of ''logterse'' in SME 7.2, you can view a condensed, one-line-per-message version of the qpsmtpd logfiles by entering a single back-tick into the ''Filter Pattern (optional'' field whe
    
====qplogsumm.pl====
 
====qplogsumm.pl====

Navigation menu