LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-27-2010, 04:49 PM   #1
jedimastermopar
Member
 
Registered: Jun 2004
Distribution: fedora core 1 and core 2
Posts: 178

Rep: Reputation: 30
postfix logs questions


ok, so I have setup a postfix mailserver and it seems to be working ok, we are only using this to relay mail to our forum users. Its not being used to recieve any email only send them out to the internet.

What is the difference between the mail.log and mail.info files? Can I turn one or both off? I see alot of messages like...

Jul 27 15:52:20 mail3 postfix/smtpd[12288]: CD8A84009FC: clientForumMailer.mydomain.com[192.168.5.51]
Jul 27 15:52:20 mail3 postfix/cleanup[12289]: CD8A84009FC: message-id=<>
Jul 27 15:52:20 mail3 postfix/smtp[12294]: connect to mx0.externaldomain.net[XXX.XXX.XXX.XXX]:25: Connection refused
Jul 27 15:52:20 mail3 postfix/smtp[12294]: connect to mx1.externaldomain.net[XXX.XXX.XXX.XXX]:25: Connection refused
Jul 27 15:52:20 mail3 postfix/qmgr[12168]: CD8A84009FC: from=<noreply@maillist.mydomain.com>, size=4481, nrcpt=1 (queue active)

Just wondering what this string of log entries means? Also I am getting duplicates in the syslog file as well.

Last edited by jedimastermopar; 07-27-2010 at 04:51 PM.
 
Old 07-27-2010, 06:00 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
grep mail /etc/syslog.conf

will tell you the difference between what is logged to those files

man syslog.conf

for more information
 
Old 07-28-2010, 07:56 PM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
The postfix logs can be a little cryptic until you get used to them, but they supply a lot of information. Postfix runs as a set of different processes (daemons). In the log entries the smtpd, cleanup, and qmgr are some of them. What you are seeing is the flow of a message through the pipes and process of postfix. The numbers like "CD8A84009FC" are the IDs assigned to the message and you can trace a message through the queue looking at its id.

In the example you provide, message with id CD8A84009FC was received from you clientForumMailer at IP 192.168.5.51. It went to the cleanup process and then an attempt was made to forward this message to the next hop in the system: mx0.externaldomain.net, but the connection was refused (nothing listening at that address or it was fire walled). The message was placed back in the queue where is was likely deferred for a later attempt.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix logs - all possible status= hockeyman_102 Linux - Software 1 03-30-2010 04:00 PM
Monitor Postfix Logs / Activity carlosinfl Linux - Server 1 02-26-2010 12:52 PM
Postfix Logs Report andybrr Linux - Server 1 04-24-2009 03:02 PM
postfix logs ddaas Linux - Security 3 02-11-2009 08:42 AM
Postfix Logs dawidson Linux - Newbie 1 12-28-2005 04:13 PM


All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration