QmailSMTP

How to trace Email Transaction on Qmail using qmaillogsort.pl under SIT SMTP server

In this, you want to trace all email transactions on our SMTP server for specific domains. Follow these steps :

Login to the server using Ezeelogin

Go to /var/qmail/log/ and gather all informations by using this command :

# cat /var/log/qmail/@400000005* > current2
# cd /root
# ./qmaillogsort.pl --grep qhsproject.com.sg > qhsproject
# less qhsproject

That’s it, from that file qhsproject, you can see all email transactions for domain qhsproject.com.sg. Please replace ( qhsproject.com.sg ) with the domain that you want to check it.