Link to home
Start Free TrialLog in
Avatar of Greg Alexander
Greg AlexanderFlag for United States of America

asked on

Where does linux server/postfix store what it does with email messages that don't make it to the mailbox

Not sure how to troubleshoot this problem, but have a user that can not receive emails from a specific domain (can from others) and the outside user is not receiving a bounce message.. my question is how can I determine if the email ever actually reached the server? Is there a log that would have that information in it?
Avatar of Matt V
Matt V
Flag of Canada image

Logs are usuallty stored in /var/log.  There should be a postfix directory under there with the various log files.  The SMTP log should show you if the message was received.
Avatar of Greg Alexander

ASKER

I don't see anything for postfix at all, here is an ll of the log directory (I removed the repetitive gz files)

drwxr-xr-x 2 apache       apache            4096 Dec 22 12:35 atmail
-rw------- 1 root         root                 0 Dec 22 05:10 boot.log
-rw------- 1 root         utmp         206810112 Dec 21 15:39 btmp
-rw------- 1 root         root             81968 Dec 22 12:41 cron
-rw-r--r-- 1 root         root                 0 Dec 16  2010 dmesg
-rw------- 1 root         root            242016 Dec 15 08:36 faillog
drwx------ 2 root         root              4096 Dec 22 05:10 httpd
drwxr-xr-x 3 root         root              4096 May  2  2011 kav
-rw-r--r-- 1 root         root           2944528 Dec 22 11:49 lastlog
-rw------- 1 root         root                 0 Dec 22 05:10 maillog
drwxrwsr-x 2 root         mailman           4096 Dec 22 12:35 mailman
-rw------- 1 root         root             58235 Dec 22 12:40 messages
-rw-r----- 1 mysql        mysql            94745 Sep 12 07:46 mysqld.log
drwxr-xr-x 2 root         root              4096 Dec 17  2010 pm
drwxr-x--- 2 apache       apache            4096 Dec 22 12:33 psa-horde
-rw------- 1 root         root             82262 Dec 19 01:01 rkhunter.log
-rw------- 1 root         root              5794 Dec 19 01:00 rkhunter.log.old
-rw-r--r-- 1 root         root                 0 Jan  1  2011 sa-update.log
drwx------ 2 root         root              4096 Mar 30  2011 samba
-rw------- 1 root         root             17314 Dec 22 12:36 secure
-rw------- 1 root         root                 0 Dec 22 05:10 spooler
drwx------ 2 sw-cp-server sw-cp-server      4096 Dec 18 03:10 sw-cp-server
-rw------- 1 root         root                 0 Dec 15  2010 tallylog
-rw-rw-r-- 1 root         utmp            385920 Dec 22 11:49 wtmp
-rw------- 1 root         root              2942 Dec  8 16:11 yum.log
ASKER CERTIFIED SOLUTION
Avatar of Matt V
Matt V
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Found it!!! because I use plesk it is was located at /usr/local/psa/var/log/maillog which lead me to my answer... thanks!