grep cwd /var/log/exim_mainlog | awk '/public_html/ {print $3}' | sort | uniq -c
*edit For Postfix:
cat /var/log/mail.log | pflogsumm
grep cwd /var/log/exim_mainlog | awk '/public_html/ {print $3}' | sort | uniq -c
*edit For Postfix:
cat /var/log/mail.log | pflogsumm
Leave a Reply