Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2010
    Posts
    14

    How to read and understand Sendmail 8.14 log files ?


    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.
    __________________
    Thanks,
    Rohit

  2. #2
    Just Joined!
    Join Date
    Nov 2010
    Posts
    14
    can anyone please reply ?

  3. #3
    Just Joined!
    Join Date
    Jun 2012
    Location
    USA
    Posts
    1
    Quote Originally Posted by Rohit_4739 View Post
    can anyone please reply ?
    Hello Rohit,

    Have you tried to find these answers anywhere other than this forum? I searched google using the terms "how to read sendmail log."

    The first result was a page I can't post a URL to. (Should also be your top result, though.) It was a post on planetlarg.net.

    Hopefully that helps a bit.

    Perhaps I'm speaking out of turn, but when using forums where people are helping out of the goodness of their hearts, it helps to make an honest effort on your own part.

    For instance, you could show that you deciphered several of the elements of each mail log entry, but some are confusing you.

    Late entry: visit the sendmail site, they have an "Installation and op guide" file which will tell you everything you need to know.

    Cheers!
    Last edited by SconnieVeteran; 06-19-2012 at 01:47 PM.

  4. #4
    Just Joined!
    Join Date
    Nov 2010
    Posts
    14
    Quote Originally Posted by SconnieVeteran View Post
    Hello Rohit,

    Have you tried to find these answers anywhere other than this forum? I searched google using the terms "how to read sendmail log."

    The first result was a page I can't post a URL to. (Should also be your top result, though.) It was a post on planetlarg.net.

    Hopefully that helps a bit.

    Perhaps I'm speaking out of turn, but when using forums where people are helping out of the goodness of their hearts, it helps to make an honest effort on your own part.

    For instance, you could show that you deciphered several of the elements of each mail log entry, but some are confusing you.

    Cheers!
    As a matter of fact i understand and know what all the fields in logs means, what i am confused about is that why there are 4 lines in the logs for one email, that is what confusing me and that's what i am looking for. If you could answer that i would really appreciate that and i did quite a googling for it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •