Viewing qmail logs
Overview
This guide will help beginners on the (dv) Dedicated-Virtual find and view their qmail log files.
Requirements
- You must have SSH access set up for root or a sudo user.
READ ME FIRST
This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.
Instructions
In order to see the mail log files, you should be logged into SSH as root. The qmail logs are located in the following directory:
/usr/local/psa/var/log/maillog
You can use the following command to view your qmail logs:
tail -f /usr/local/psa/var/log/maillog
Here's a typical log sequence showing the complete transmission of one piece of mail:
Oct 3 16:50:19 dv35 qmail: 1223077819.930048 new msg 163786382
Oct 3 16:50:19 dv35 qmail: 1223077819.930096 info msg 163786382: bytes 860 from <> qp 24106 uid 2522
Oct 3 16:50:19 dv35 qmail: 1223077819.937789 starting delivery 2: msg 163786382 to local 2-user@example.com
Oct 3 16:50:19 dv35 qmail: 1223077819.937835 status: local 1/10 remote 0/20
Oct 3 16:50:19 dv35 qmail-local-handlers[24107]: Handlers Filter before-local for qmail started ...
Oct 3 16:50:19 dv35 qmail-local-handlers[24107]: from=
Oct 3 16:50:19 dv35 qmail-local-handlers[24107]: to=user@example.com
Oct 3 16:50:20 dv35 qmail: 1223077820.159866 delivery 2: success: did_0+0+2/
Oct 3 16:50:20 dv35 qmail: 1223077820.160087 status: local 0/10 remote 0/20
Oct 3 16:50:20 dv35 qmail: 1223077820.160159 end msg 163786382
User Comments
No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article