How do I find from, to… and size of a mail?
The SMTP log should show you all you need. The following is a typical log entry:
SMTP 24 Sep 2000 22:59:37 S 3016 8 local mail 21593776500047 email@example.com
[188.8.131.52] firstname.lastname@example.org 1761 bytes
It shows mail arriving at the server for email@example.com. It was sent by firstname.lastname@example.org, and came from IP 184.108.40.206. The size of the message is 1761 bytes.
It is possible to automate the reading of this information using an MML script, for instance you could have the script parse both the POST and SMTP logs for a certain day to see how many messages were sent and received by any particular user on the system (or indeed all users).
Keywords:3016 log SMTP SM log size message