Mail monitoring

Hi,I’m trying to establish a system to monitor mail usage in our company and I plan to use the informations stored in log files.

I need to know which variables(parameters) can I log and how can I do it .

I will be very thankful for any help

E.H.Y