Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-27-2010, 03:49 PM   #1
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 files? Can I turn one or both off? I see alot of messages like...

Jul 27 15:52:20 mail3 postfix/smtpd[12288]: CD8A84009FC:[]
Jul 27 15:52:20 mail3 postfix/cleanup[12289]: CD8A84009FC: message-id=<>
Jul 27 15:52:20 mail3 postfix/smtp[12294]: connect to[XXX.XXX.XXX.XXX]:25: Connection refused
Jul 27 15:52:20 mail3 postfix/smtp[12294]: connect to[XXX.XXX.XXX.XXX]:25: Connection refused
Jul 27 15:52:20 mail3 postfix/qmgr[12168]: CD8A84009FC: from=<>, 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 03:51 PM.
Old 07-27-2010, 05:00 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,797

Rep: Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602
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, 06:56 PM   #3
Senior Member
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778Reputation: 778
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 It went to the cleanup process and then an attempt was made to forward this message to the next hop in the system:, 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.


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 03:00 PM
Monitor Postfix Logs / Activity carlosinfl Linux - Server 1 02-26-2010 11:52 AM
Postfix Logs Report andybrr Linux - Server 1 04-24-2009 02:02 PM
postfix logs ddaas Linux - Security 3 02-11-2009 07:42 AM
Postfix Logs dawidson Linux - Newbie 1 12-28-2005 03:13 PM

All times are GMT -5. The time now is 08:54 PM.

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