LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2012, 05:50 PM   #1
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Rep: Reputation: 9
How to read and understand Sendmail 8.14 log files ?


Hello everyone,

Can some one please help me know how exactly to understand logs in sendmail 8.14.5. I am pretty new to sendmail.

I am running rhel6 on my system and i installed sendmail on it. Its just a test enivornment and i am sending and receiving emails on my localshot only.

Code:
Jun 13 18:32:38 serv1 sendmail[7441]: q5DMWcS2007441: from=rohit, size=315, class=0, nrcpts=1, msgid=<20120613223237.GA7436@serv1.home.com>, relay=root@localhost
Jun 13 18:32:38 serv1 sm-mta[7442]: q5DMWcDD007442: from=<rohit@serv1.home.com>, size=466, class=0, nrcpts=1, msgid=<20120613223237.GA7436@serv1.home.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 13 18:32:38 serv1 sendmail[7441]: q5DMWcS2007441: to=rohit@serv1.home.com, ctladdr=rohit (502/505), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30315, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q5DMWcDD007442 Message accepted for delivery)
Jun 13 18:32:38 serv1 sm-mta[7443]: q5DMWcDD007442: to=<rohit@serv1.home.com>, ctladdr=<rohit@serv1.home.com> (502/505), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30663, dsn=2.0.0, stat=Sent
So can anyone please explain what each line in the logs mean. Please these are the logs for only one email i just sent using mutt MUA.
 
Old 06-13-2012, 06:18 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,308

Rep: Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744
Start by reading these http://sendmail.org/~ca/email/doc8.12/op-sh-2.html & http://www.planetlarg.net/open%20sou...ies-system-log
 
Old 06-13-2012, 07:01 PM   #3
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Original Poster
Rep: Reputation: 9
I know meaning of all the fields, i already studied about them before posting. However i am confused why there are 4 enteries for one email, shouldn't it be just two ? What are the other two about, can you please explain that ? It would help me in understanding the things in a better way. I would really appreciate your help.
 
Old 06-18-2012, 01:11 PM   #4
Rohit_4739
Member
 
Registered: Oct 2010
Distribution: Red Hat
Posts: 228

Original Poster
Rep: Reputation: 9
can anyone please reply ?
 
  


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
sendmail log file contenet to understand lasantha Linux - Server 4 06-18-2018 11:13 AM
[Linux Audit]: Which groups should be allowed to read audit log files? quanba Linux - Security 1 11-15-2010 10:09 AM
[SOLVED] I need a shell script to delete files wich location should be read from a log file jorgemarmo Programming 24 07-02-2010 07:07 AM
Don't understand what my log files are telling me. linuxpng2 Linux - Newbie 1 10-27-2006 02:34 AM
Log files how to? Help me understand logs nicedreams Linux - Software 3 12-16-2005 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 PM.

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
Open Source Consulting | Domain Registration