Changes

From SME Server
Jump to navigationJump to search
477 bytes added ,  15:50, 8 November 2008
no edit summary
Line 1: Line 1: −
==Email Statistics==
+
Various options for monitoring your mail server performance
How to get statistics about the performance of your mail server
     −
===Built-In Statistical Reports===
+
==Built-In Email Reports==
====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 =====
+
 
 +
==== qpsmtpd: Incoming SMTP traffic ====
 
All in-bound SMTP connections are handled by qpsmtpd.
 
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:
+
SME 7.2 and later include the 'logterse' plugin to qpsmtpd as well as the 'qplogsumm.pl' statistics script.
 +
 
 +
===== logterse =====
 +
''logterse'' creates a one-line summary of each qpsmtpd transaction and writes it to the log
 +
file.  In order to view ''only'' these one-line-per-message extracts from the qpsmtpd log:
 
* Select ''View log files'' in server-manager
 
* Select ''View log files'' in server-manager
 
* Specify '''qpsmtpd/current''' under ''Choose a log file to view''
 
* Specify '''qpsmtpd/current''' under ''Choose a log file to view''
Line 22: Line 26:  
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: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>
 
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====
SME 7.2 and later include the 'logterse' plugin to qpsmtpd as well as the 'qplogsumm.pl' statistics script.
  −
   
qplogsumm.pl updates /var/log/qpsmtpd/state with per-plugin statistics for any qpsmtpd plugin that appears in a qpsmtpd logterse entry each time the qpsmtpd log is rotated.  
 
qplogsumm.pl updates /var/log/qpsmtpd/state with per-plugin statistics for any qpsmtpd plugin that appears in a qpsmtpd logterse entry each time the qpsmtpd log is rotated.  
   Line 56: Line 56:  
The transactions in these '''.u''' log files will '''not''' be included in the summary information in <tt>/var/log/qpsmtpd/state</tt>
 
The transactions in these '''.u''' log files will '''not''' be included in the summary information in <tt>/var/log/qpsmtpd/state</tt>
    +
==== qmail: Outgoing SMTP traffic ====
 +
Once a message has been accepted by ''qpsmtpd'' it is handed to ''qmail'' for delivery.
 +
* If the message is addressed to an email account hosted on your SME server, qmail delivers the file to the local mailbox.
 +
* If the message is addressed to a remote email address, qmail either delivers the message directly to the recipient's mail server, or to the relay mail server value at ''server-manager::email::Address of internet provider's mail''
 +
 +
''Mail log file analysis'' in the server-manager provides access to several reports regarding ''qmail''.
 
===Contribs & Addons===
 
===Contribs & Addons===
 
====Brian Read's spamfilter-stats-7.pl====
 
====Brian Read's spamfilter-stats-7.pl====

Navigation menu