Changes

From SME Server
Jump to navigationJump to search
95 bytes added ,  07:23, 27 November 2015
Line 269: Line 269:  
===Count emails by TLD and disposition for today and yesterday===
 
===Count emails by TLD and disposition for today and yesterday===
   −
This command will scan all qpsmtpd log files closed in the last day, then pull out entries dated today or yesterday, then count the dispositions applied to each message by TLD (".com", ".org", etc):
+
This command will scan all qpsmtpd log files closed in the last day, pull out entries dated today or yesterday, then count the dispositions applied to each message by TLD (".com", ".org", etc):
   −
Please the entire command below in your clipboard then paste it into command shell on your server.
+
Place the entire command below in your clipboard then paste it into command shell on your server.  Adding "|sendmail -t emailuser@yourserver.tld" will email the report to the selected email address.
    
  <nowiki>export LC_ALL=C;  \
 
  <nowiki>export LC_ALL=C;  \

Navigation menu