Loading ...
Sorry, an error occurred while loading the content.
 

sendmail configuration ....

Expand Messages
  • sana7727
    hi all, i can t send a mail from one computer to another ... i am really tired of this sendmail configuration.. can any one help plz. Any links for
    Message 1 of 6 , Apr 2, 2008
      hi all,


      i can't send a mail from one computer to another ...
      i am really tired of this sendmail configuration..
      can any one help plz.
      Any links for understanding this sendmail will be welcomed.
      i am pasting some portion of the error in the maillog file

      ..
      config error mail loops to me (MX problem?)
      ...
      DSN: Local configuration error

      did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA.



      (Hay mario chamoro where are you .........)


      Regards,
      Sana Gul
    • Mario Chamorro
      ... Hello, Sana This is a short test message - I ve sent two messages in reply, one to the mailing list, and one to you via the link, but the list appears to
      Message 2 of 6 , Apr 2, 2008
        --- In redhat@yahoogroups.com, "sana7727" <sana7727@...> wrote:
        > ..
        > config error mail loops to me (MX problem?)
        > DSN: Local configuration error
        > did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA.
        > (Hay mario chamoro where are you .........)
        > Regards, Sana Gul

        Hello, Sana
        This is a short test message - I've sent two messages in reply, one to
        the mailing list, and one to you via the link, but the list appears to
        be heavily loaded and I think Yahoo needs to add more servers.

        I forget my answers now, but use this command to send mail:

        echo "TEST SANA 1" | mail -s "TEST 1" root@...

        check the mailboxes in /var/spool/mail/ as well as the mail queues in
        /var/spool/mqueue/ and /var/spool/clientmqueue/ on both servers.
        Recheck the /var/log/maillog and messages files always.

        I hope this message gets posted. -- Mario
      • sana7727
        Hello Mario, First of all I am very thankful for your response… I am forwarding you the result of different files you mentioned after this command Echo
        Message 3 of 6 , Apr 3, 2008
          Hello Mario,
          First of all I am very thankful for your response… I am forwarding
          you the result of different files you mentioned after this command
          Echo "xyz" | mail root@...
          First the result of musdor (sending computer) is shown

          Output of cat /var/log/maillog--->

          Apr 3 09:05:07 musdor sendmail[2164]: m3344qqT002164: from=root,
          size=49, class=0, nrcpts=1,
          msgid=<200804030404.m3344qqT002164@...>,
          relay=root@localhost
          Apr 3 09:05:07 musdor sendmail[2168]: warning: /etc/hosts.allow,
          line 6: missing ":" separator
          Apr 3 09:05:27 musdor sendmail[2168]: m33457A3002168:
          from=<root@...>, size=350, class=0, nrcpts=1,
          msgid=<200804030404.m3344qqT002164@...>,
          proto=ESMTP, daemon=MTA, relay=musdor [127.0.0.1]
          Apr 3 09:05:27 musdor sendmail[2164]: m3344qqT002164:
          to=root@..., ctladdr=root (0/0), delay=00:00:35,
          xdelay=00:00:20, mailer=relay, pri=30029, relay=[127.0.0.1]
          [127.0.0.1], dsn=2.0.0, stat=Sent (m33457A3002168 Message accepted
          for delivery)
          Apr 3 09:05:48 musdor sendmail[2171]: m33457A3002168: SYSERR(root):
          musdor1.rimfts.com. config error: mail loops back to me (MX problem?)
          Apr 3 09:05:48 musdor sendmail[2171]: m33457A3002168:
          to=<root@...>, ctladdr=<root@...>
          (0/0), delay=00:00:21, xdelay=00:00:21, mailer=smtp, pri=30330,
          relay=musdor1.rimfts.com. [192.168.0.2], dsn=5.3.5, stat=Local
          configuration error
          Apr 3 09:05:48 musdor sendmail[2171]: m33457A3002168:
          m3345mA3002171: DSN: Local configuration error
          Apr 3 09:05:48 musdor sendmail[2171]: m3345mA3002171:
          to=<root@...>, delay=00:00:00, xdelay=00:00:00,
          mailer=local, pri=31374, dsn=2.0.0, stat=Sent

          Output of cat /etc/spool/mail/root---->

          From MAILER-DAEMON@... Thu Apr 3 09:05:48 2008
          Return-Path: <MAILER-DAEMON@...>
          Received: from localhost (localhost)
          by localhost.localdomain (8.12.8/8.12.8) id m3345mA3002171;
          Thu, 3 Apr 2008 09:05:48 +0500
          Date: Thu, 3 Apr 2008 09:05:48 +0500
          From: Mail Delivery Subsystem <MAILER-DAEMON@...>
          Message-Id: <200804030405.m3345mA3002171@...>
          To: postmaster@...
          To: <root@...>
          MIME-Version: 1.0
          Content-Type: multipart/report; report-type=delivery-status;
          boundary="m3345mA3002171.1207195548/localhost.localdomain"
          Subject: Returned mail: see transcript for details
          Auto-Submitted: auto-generated (failure)

          This is a MIME-encapsulated message

          --m3345mA3002171.1207195548/localhost.localdomain

          The original message was received at Thu, 3 Apr 2008 09:05:27 +0500
          from musdor [127.0.0.1]

          ----- The following addresses had permanent fatal errors -----
          <root@...>
          (reason: 553 5.3.5 system config error)

          ----- Transcript of session follows -----
          553 5.3.5 musdor1.rimfts.com. config error: mail loops back to me
          (MX problem?)
          554 5.3.5 Local configuration error

          --m3345mA3002171.1207195548/localhost.localdomain
          Content-Type: message/delivery-status

          Reporting-MTA: dns; localhost.localdomain
          Received-From-MTA: DNS; musdor
          Arrival-Date: Thu, 3 Apr 2008 09:05:27 +0500

          Final-Recipient: RFC822; root@...
          Action: failed
          Status: 5.3.5
          Diagnostic-Code: SMTP; 553 5.3.5 system config error
          Last-Attempt-Date: Thu, 3 Apr 2008 09:05:48 +0500

          --m3345mA3002171.1207195548/localhost.localdomain
          Content-Type: message/rfc822

          Return-Path: <root@...>
          Received: from localhost.localdomain (musdor [127.0.0.1])
          by localhost.localdomain (8.12.8/8.12.8) with ESMTP id
          m33457A3002168
          for <root@...>; Thu, 3 Apr 2008 09:05:27 +0500
          Received: (from root@localhost)
          by localhost.localdomain (8.12.8/8.12.8/Submit) id
          m3344qqT002164
          for root@...; Thu, 3 Apr 2008 09:04:52 +0500
          Date: Thu, 3 Apr 2008 09:04:52 +0500
          From: root <root@...>
          Message-Id: <200804030404.m3344qqT002164@...>
          To: root@...

          xyz


          There is nothing in the /etc/spool/mqueue in both the system

          Results from the musdor1(receiving computer)

          cat /etc/mail/maillog--->

          ....musdor1 sendmail[3194]: warning: /etc/hosts.allow, line 6:
          missing ":" seperator
          ....musdor1 sendmail[3194]: m3345ukB003194: musdor [192.168.0.1] did
          not issue MAIL/EXPRN/VRFY/ETRN during connection to MTA


          Mario tell me that how will you like to see the MX line in the
          rimfts.com zone file.
          _ _ _ _ _ IN MX 0 _ _ _ _ _ _

          and also tell me is the line below correct..
          define(` SMART_HOST', `rimfts.com ')dnl


          Mario i thank you in advance...

          Regards,
          Sana Gul
        • Mario Chamorro
          ... # ------- Ugh. I have to admit I m past the limit of my memory. At this point I m usually quickly looking over all configuration files rather than trying
          Message 4 of 6 , Apr 3, 2008
            --- In redhat@yahoogroups.com, "sana7727" <sana7727@...> wrote:
            > Output of cat /var/log/maillog--->

            > Apr 3 09:05:07 musdor sendmail[2168]: warning: /etc/hosts.allow,
            > line 6: missing ":" separator

            > Apr 3 09:05:48 musdor sendmail[2171]: m33457A3002168: SYSERR(root):
            > musdor1.rimfts.com. config error: mail loops back to me (MX problem?)

            > Apr 3 09:05:48 musdor sendmail[2171]: m33457A3002168:
            > to=<root@...>, ctladdr=<root@...>
            > (0/0), delay=00:00:21, xdelay=00:00:21, mailer=smtp, pri=30330,
            > relay=musdor1.rimfts.com. [192.168.0.2], dsn=5.3.5, stat=Local
            > configuration error

            > Apr 3 09:05:48 musdor sendmail[2171]: m33457A3002168:
            > m3345mA3002171: DSN: Local configuration error
            >

            > Mario tell me that how will you like to see the MX line in the
            > rimfts.com zone file.
            > _ _ _ _ _ IN MX 0 _ _ _ _ _ _
            >
            > and also tell me is the line below correct..
            > define(` SMART_HOST', `rimfts.com ')dnl

            # -------

            Ugh. I have to admit I'm past the limit of my memory. At this point
            I'm usually quickly looking over all configuration files rather than
            trying to vaguely remember back to the last time I ran Sendmail .

            The MX record for your domain should read something like:

            rimfts.com. IN MX 10 musdor1.rimfts.com.

            This means that 'root@...' will go to musdor1 .
            'root@...' should go to musdor1 unless you create
            another DNS zone file for 'musdor1.rimfts.com' . NOTE that there's a
            dot at the end of the domain (com.) . That has to be there to 'end'
            the domain, otherwise it becomes 'rimfts.com.rimfts.com.' . Check what
            the active MX is using the 'dig' command:

            dig -t MX rimfts.com

            The SMART_HOST is like a relay setting. You should set that to
            whatever server ( musdor1 ? ) is relaying .

            Restart services, and retest. After that, you get into Sendmail
            surgery which I am not qualified nor willing to do without a test box,
            so you might want to refer to this man's page which I found care of
            the letter Y:

            http://www.brandonhutchinson.com/mail_loops_back_to_me.html

            http://search.yahoo.com/search?p=mail+loops+back+to+me&ei=UTF-8&iscqry=&fr=sfp

            I don't think I can go much farther. You're going to have to fly like
            I did when I was a grasshopper. -- Mario
          • Vijayprasad
            sana7727 wrote: Hello Mario, First of all I am very thankful for your response… I am forwarding you the result of different
            Message 5 of 6 , Apr 6, 2008
              sana7727 <sana7727@...> wrote: Hello Mario,
              First of all I am very thankful for your response… I am forwarding
              you the result of different files you mentioned after this command
              Echo "xyz" | mail root@...
              First the result of musdor (sending computer) is shown

              Output of cat /var/log/maillog--->

              Apr 3 09:05:07 musdor sendmail[2164]: m3344qqT002164: from=root,
              size=49, class=0, nrcpts=1,
              msgid=<200804030404.m3344qqT002164@...>,
              relay=root@localhost
              Apr 3 09:05:07 musdor sendmail[2168]: warning: /etc/hosts.allow,
              line 6: missing ":" separator
              Apr 3 09:05:27 musdor sendmail[2168]: m33457A3002168:
              from=<root@...>, size=350, class=0, nrcpts=1,
              msgid=<200804030404.m3344qqT002164@...>,
              proto=ESMTP, daemon=MTA, relay=musdor [127.0.0.1]
              Apr 3 09:05:27 musdor sendmail[2164]: m3344qqT002164:
              to=root@..., ctladdr=root (0/0), delay=00:00:35,
              xdelay=00:00:20, mailer=relay, pri=30029, relay=[127.0.0.1]
              [127.0.0.1], dsn=2.0.0, stat=Sent (m33457A3002168 Message accepted
              for delivery)
              Apr 3 09:05:48 musdor sendmail[2171]: m33457A3002168: SYSERR(root):
              musdor1.rimfts.com. config error: mail loops back to me (MX problem?)
              Apr 3 09:05:48 musdor sendmail[2171]: m33457A3002168:
              to=<root@...>, ctladdr=<root@...>
              (0/0), delay=00:00:21, xdelay=00:00:21, mailer=smtp, pri=30330,
              relay=musdor1.rimfts.com. [192.168.0.2], dsn=5.3.5, stat=Local
              configuration error
              Apr 3 09:05:48 musdor sendmail[2171]: m33457A3002168:
              m3345mA3002171: DSN: Local configuration error
              Apr 3 09:05:48 musdor sendmail[2171]: m3345mA3002171:
              to=<root@...>, delay=00:00:00, xdelay=00:00:00,
              mailer=local, pri=31374, dsn=2.0.0, stat=Sent

              Output of cat /etc/spool/mail/root---->

              From MAILER-DAEMON@... Thu Apr 3 09:05:48 2008
              Return-Path: <MAILER-DAEMON@...>
              Received: from localhost (localhost)
              by localhost.localdomain (8.12.8/8.12.8) id m3345mA3002171;
              Thu, 3 Apr 2008 09:05:48 +0500
              Date: Thu, 3 Apr 2008 09:05:48 +0500
              From: Mail Delivery Subsystem <MAILER-DAEMON@...>
              Message-Id: <200804030405.m3345mA3002171@...>
              To: postmaster@...
              To: <root@...>
              MIME-Version: 1.0
              Content-Type: multipart/report; report-type=delivery-status;
              boundary="m3345mA3002171.1207195548/localhost.localdomain"
              Subject: Returned mail: see transcript for details
              Auto-Submitted: auto-generated (failure)

              This is a MIME-encapsulated message

              --m3345mA3002171.1207195548/localhost.localdomain

              The original message was received at Thu, 3 Apr 2008 09:05:27 +0500
              from musdor [127.0.0.1]

              ----- The following addresses had permanent fatal errors -----
              <root@...>
              (reason: 553 5.3.5 system config error)

              ----- Transcript of session follows -----
              553 5.3.5 musdor1.rimfts.com. config error: mail loops back to me
              (MX problem?)
              554 5.3.5 Local configuration error

              --m3345mA3002171.1207195548/localhost.localdomain
              Content-Type: message/delivery-status

              Reporting-MTA: dns; localhost.localdomain
              Received-From-MTA: DNS; musdor
              Arrival-Date: Thu, 3 Apr 2008 09:05:27 +0500

              Final-Recipient: RFC822; root@...
              Action: failed
              Status: 5.3.5
              Diagnostic-Code: SMTP; 553 5.3.5 system config error
              Last-Attempt-Date: Thu, 3 Apr 2008 09:05:48 +0500

              --m3345mA3002171.1207195548/localhost.localdomain
              Content-Type: message/rfc822

              Return-Path: <root@...>
              Received: from localhost.localdomain (musdor [127.0.0.1])
              by localhost.localdomain (8.12.8/8.12.8) with ESMTP id
              m33457A3002168
              for <root@...>; Thu, 3 Apr 2008 09:05:27 +0500
              Received: (from root@localhost)
              by localhost.localdomain (8.12.8/8.12.8/Submit) id
              m3344qqT002164
              for root@...; Thu, 3 Apr 2008 09:04:52 +0500
              Date: Thu, 3 Apr 2008 09:04:52 +0500
              From: root <root@...>
              Message-Id: <200804030404.m3344qqT002164@...>
              To: root@...

              xyz

              There is nothing in the /etc/spool/mqueue in both the system

              Results from the musdor1(receiving computer)

              cat /etc/mail/maillog--->

              ....musdor1 sendmail[3194]: warning: /etc/hosts.allow, line 6:
              missing ":" seperator
              ....musdor1 sendmail[3194]: m3345ukB003194: musdor [192.168.0.1] did
              not issue MAIL/EXPRN/VRFY/ETRN during connection to MTA

              Mario tell me that how will you like to see the MX line in the
              rimfts.com zone file.
              _ _ _ _ _ IN MX 0 _ _ _ _ _ _

              and also tell me is the line below correct..
              define(` SMART_HOST', `rimfts.com ')dnl

              Mario i thank you in advance...

              Regards,
              Sana Gul








              K.Vijaya Prasad Reddy
              Mobile + 919972096926


















              ---------------------------------
              Did you know? You can CHAT without downloading messenger. Click here

              [Non-text portions of this message have been removed]
            • sana7727
              hello Mario and all..., hope you will be fine.. i will like to share the solution for my problem as you really helped me. The problem was both computer were
              Message 6 of 6 , Apr 6, 2008
                hello Mario and all...,

                hope you will be fine..
                i will like to share the solution for my problem as you really
                helped me.
                The problem was both computer were having the same value for the $j
                i.e., the canonical name were same.
                When i changed one of them the message was sent successfully ..

                Regards,
                Sana Gul
              Your message has been successfully submitted and would be delivered to recipients shortly.