How do I find out what mail is being sent by my server or user accounts?

by

in ,
grep cwd /var/log/exim_mainlog | awk '/public_html/ {print $3}' | sort | uniq -c

*edit For Postfix:

cat /var/log/mail.log | pflogsumm

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *