Grep Patterns for MailScanner Statistics

Daniel Straka dstraka at caspercollege.edu
Tue Nov 28 15:56:50 GMT 2006


I've been trying to find a grep pattern to use with the mail log file to
get an accurate count of:
1. Total Incoming Messages: (I'm using sendmail), been using (grep -c
"daemon=MTA" mail)
2. Total Outgoing Messages: been using (grep -c "to=<" mail)
3. Messages identified as spam by MailScanner: been using (grep -c
"actions are delete" mail)
4. Total number of messages sent and received: help!
Does anyone have a list of grep patterns they use and would like to
share?


 
Dan Straka
Systems Coordinator
Casper College
307.268.2399


-- 
This message has been scanned for viruses
and dangerous content by MailScanner at
caspercollege.edu and is believed to be clean.

-------------- next part --------------
BEGIN:VCARD
VERSION:2.1
FN:Straka, Daniel
TEL:307.268.2399
EMAIL:Dstraka at caspercollege.edu
ORG:Casper College
TITLE:Systems Coordinator
URL:http://wind.caspercollege.edu/~dstraka/
END:VCARD



More information about the MailScanner mailing list