• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 412
  • Last Modified:

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?
0
Greg Alexander
Asked:
Greg Alexander
  • 2
  • 2
1 Solution
 
Matt VCommented:
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.
0
 
Greg AlexanderLead DeveloperAuthor Commented:
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
0
 
Matt VCommented:
You can look in the maillog folder, or it might be storing it in a custom location.

/usr/local/var/log, or even in the postifx directory /usr/local/postfix/logs or something similar.
0
 
Greg AlexanderLead DeveloperAuthor Commented:
Found it!!! because I use plesk it is was located at /usr/local/psa/var/log/maillog which lead me to my answer... thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now