<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sendmail stopped working in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5742671#M53809</link>
    <description>&lt;P&gt;I have tried with both the configurations i-e, putting the fully qualified domain name as well as by enclosing the IP address in bracket. It is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont know whats wrong. It was working before the update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jul 2012 16:15:21 GMT</pubDate>
    <dc:creator>Waqar Razi</dc:creator>
    <dc:date>2012-07-27T16:15:21Z</dc:date>
    <item>
      <title>Sendmail stopped working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5739655#M53803</link>
      <description>&lt;P&gt;We have RHEL 4.8 server and sendmail on this server is configured to forward email to the exchange server (IP Address &lt;STRONG&gt;10.16.8.88)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;# "Smart" relay host (may be null)&lt;BR /&gt;DS10.16.8.88&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It was working fine few days ago and then suddenly it stopped working. I have checked it out by manually sending email and it looks like that instead of contacting the relay host, it is trying to contact the local host.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;# sendmail -v &lt;A target="_blank" href="mailto:aiz@rocketmail.com"&gt;aiz@rocketmail.com&lt;/A&gt; &amp;lt;test.mail&lt;BR /&gt;&lt;A target="_blank" href="mailto:aiz@rocketmail.com"&gt;aiz@rocketmail.com&lt;/A&gt;... Connecting to [127.0.0.1] via relay...&lt;BR /&gt;220 star.apple.org ESMTP Sendmail 8.13.1/8.13.1; Wed, 25 Jul 2012 15:25:27 -0400&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; EHLO star.apple.org&lt;BR /&gt;250-star.apple.org Hello localhost.localdomain [127.0.0.1], pleased to meet you&lt;BR /&gt;250-ENHANCEDSTATUSCODES&lt;BR /&gt;250-PIPELINING&lt;BR /&gt;250-8BITMIME&lt;BR /&gt;250-SIZE&lt;BR /&gt;250-DSN&lt;BR /&gt;250-ETRN&lt;BR /&gt;250-AUTH DIGEST-MD5 CRAM-MD5&lt;BR /&gt;250-DELIVERBY&lt;BR /&gt;250 HELP&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; MAIL From:&amp;lt;&lt;A target="_blank" href="mailto:root@star.apple.org"&gt;root@star.apple.org&lt;/A&gt;&amp;gt; SIZE=20 &lt;A target="_blank" href="mailto:AUTH=root@star.apple.org"&gt;AUTH=root@star.apple.org&lt;/A&gt;&lt;BR /&gt;250 2.1.0 &amp;lt;&lt;A target="_blank" href="mailto:root@star.apple.org"&gt;root@star.apple.org&lt;/A&gt;&amp;gt;... Sender ok&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RCPT To:&amp;lt;&lt;A target="_blank" href="mailto:aiz@rocketmail.com"&gt;aiz@rocketmail.com&lt;/A&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; DATA&lt;BR /&gt;250 2.1.5 &amp;lt;&lt;A target="_blank" href="mailto:aiz@rocketmail.com"&gt;aiz@rocketmail.com&lt;/A&gt;&amp;gt;... Recipient ok&lt;BR /&gt;354 Enter mail, end with "." on a line by itself&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; .&lt;BR /&gt;250 2.0.0 q6PJPR6K004401 Message accepted for delivery&lt;BR /&gt;&lt;A target="_blank" href="mailto:aiz@rocketmail.com"&gt;aiz@rocketmail.com&lt;/A&gt;... Sent (q6PJPR6K004401 Message accepted for delivery)&lt;BR /&gt;Closing connection to [127.0.0.1]&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; QUIT&lt;BR /&gt;221 2.0.0 star.apple.org closing connection&lt;BR /&gt;#&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any help would be highly appreciated.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Jul 2012 19:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5739655#M53803</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2012-07-25T19:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail stopped working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5740525#M53804</link>
      <description>&lt;P&gt;Since Sendmail version 8.12, sendmail is no longer suid root by default. Instead, the email processing is split into two components: when you start sendmail from the command line (by root or by anyone else), it will drop all unnecessary privileges and use the configuration in /etc/mail/submit.cf: as a result, it will accept the message and pass it on to another sendmail process that runs as a daemon. The sendmail daemon process runs as root (in order to be able to write to the queue directory and to anyone's inbox). It will also handle transmitting the outgoing mail to the configured relay host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the connection to the relay host fails, the sendmail daemon can write the message to the queue directory to wait for further delivery attempts. The sendmail process you started from the command line has switched itself permanently to minimum privileges, so it cannot do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're seeing only the first part of this two-part operation. To find out what happens when the sendmail daemon contacts the relay host, look into the mail log file (typically /var/log/mail*).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason for splitting the sendmail processing into two parts is privilege separation: it is intended to remove the requirement for local users (who are in the best position to perform attacks against the sendmail daemon) to access the privileged sendmail daemon directly. This should make Sendmail much stronger against local root exploit attempts.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 09:11:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5740525#M53804</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-07-26T09:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail stopped working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5741069#M53805</link>
      <description>&lt;P&gt;Could you please provide some more guidance like how to fix it. One thing that I would like to point out that we have done Red Hat update on this server from 4.7 to 4.8 recently and it appears to stop working after that. It was working fine before that update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your response.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 14:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5741069#M53805</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2012-07-26T14:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail stopped working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5741135#M53806</link>
      <description>&lt;P&gt;With the information you provided so far, I cannot help: it just indicates the mail was delivered from the command-line "sendmail" command to the sendmail daemon running as root, and the sendmail daemon successfully accepted it. This is perfectly normal for sendmail 8.12.0 and newer. I need more information from you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next step is to look in the mail log to see what the sendmail daemon did with the mail and whether or not it was successful. If the Exchange server rejected the mail, the rejection error code can be found in the mail log. If the sendmail daemon attempted to deliver it to some wrong destination, that can be seen in the mail log too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As your test output includes the queue ID given to the message by the sendmail daemon, this command might be the easiest way to find out all the relevant log lines and nothing else:&lt;/P&gt;&lt;PRE&gt;grep q6PJPR6K004401 /var/log/maillog*&lt;/PRE&gt;&lt;P&gt;You might also run the "mailq" command to see if your test message is still in the mail queue (i.e. the sendmail daemon is still trying to deliver it) or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is not in the queue, check your local mail inbox (for the root user, the file is /var/mail/root). Either Sendmail or the Exchange server might have generated a bounce message that describes the reason of the mail delivery failure.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 15:35:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5741135#M53806</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-07-26T15:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail stopped working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5741217#M53807</link>
      <description>&lt;P&gt;Here is the output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# grep q6PJPR6K004401 /var/log/maillog*&lt;BR /&gt;/var/log/maillog:Jul 25 15:25:27 star sendmail[4401]: q6PJPR6K004401: from=&amp;lt;&lt;A target="_blank" href="mailto:root@star.apple.org"&gt;root@star.apple.org&lt;/A&gt;&amp;gt;, size=313, class="0", nrcpts=1, msgid=&amp;lt;&lt;A target="_blank" href="mailto:201207251925.q6PJPR4W004400@star.apple.org"&gt;201207251925.q6PJPR4W004400@star.apple.org&lt;/A&gt;&amp;gt;, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]&lt;BR /&gt;/var/log/maillog:Jul 25 15:25:27 star sendmail[4400]: q6PJPR4W004400: &lt;A target="_blank" href="mailto:to=aiz@rocketmail.com"&gt;to=aiz@rocketmail.com&lt;/A&gt;, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30020, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q6PJPR6K004401 Message accepted for delivery)&lt;BR /&gt;/var/log/maillog:Jul 25 15:25:27 star sendmail[4403]: q6PJPR6K004401: to=&amp;lt;&lt;A target="_blank" href="mailto:aiz@rocketmail.com"&gt;aiz@rocketmail.com&lt;/A&gt;&amp;gt;, ctladdr=&amp;lt;&lt;A target="_blank" href="mailto:root@star.apple.org"&gt;root@star.apple.org&lt;/A&gt;&amp;gt; (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120313, relay=10.16.8.88, dsn=5.1.2, stat=Host unknown (Name server: 10.16.8.88: host not found)&lt;BR /&gt;/var/log/maillog:Jul 25 15:25:27 star sendmail[4403]: q6PJPR6K004401: q6PJPR6K004403: DSN: Host unknown (Name server: 10.16.8.88: host not found)&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also checked the nslookup command to verify the name resolution of the exchange mail server:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# nslookup&lt;BR /&gt;&amp;gt; 10.16.8.88&lt;BR /&gt;Server:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.16.10.16&lt;BR /&gt;Address:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.16.10.16#53&lt;/P&gt;&lt;P&gt;88.8.16.10.in-addr.arpa name = mx-tmc-06.apple.org.&lt;BR /&gt;&amp;gt; mx-tmc-06.apple.org&lt;BR /&gt;Server:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.16.10.16&lt;BR /&gt;Address:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.16.10.16#53&lt;/P&gt;&lt;P&gt;Name:&amp;nbsp;&amp;nbsp; mx-tmc-06.apple.org&lt;BR /&gt;Address: 10.16.8.88&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:18:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5741217#M53807</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2012-07-26T16:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail stopped working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5741521#M53808</link>
      <description>&lt;P&gt;Apparently Sendmail does not like your smarthost setting, because it cannot find it in the DNS exactly as written.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try specifying the smarthost using a fully-qualified hostname instead of IP address, i.e. like this:&lt;/P&gt;&lt;PRE&gt;# "Smart" relay host (may be null)
DSmx-tmc-06.apple.org&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;A mail server should always have a valid hostname anyway; otherwise it will have trouble passin even the most basic anti-spam checks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you absolutely must specify the smarthost using an IP address, put [square brackets] around it, like this:&lt;/P&gt;&lt;PRE&gt;# "Smart" relay host (may be null)
DS[10.16.8.88]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure your smarthost configuration actually worked before the update? I think Sendmail has required square brackets around bare IP addresses for quite a while.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 23:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5741521#M53808</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-07-26T23:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail stopped working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5742671#M53809</link>
      <description>&lt;P&gt;I have tried with both the configurations i-e, putting the fully qualified domain name as well as by enclosing the IP address in bracket. It is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont know whats wrong. It was working before the update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 16:15:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5742671#M53809</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2012-07-27T16:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail stopped working</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5742831#M53812</link>
      <description>&lt;P&gt;&amp;nbsp;Did you restart the sendmail daemon after each change to the sendmail.cf file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And what does the mail log say about those attempts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The mail log is your friend when troubleshooting Sendmail. If you don't read it, it's like trying to use a computer with the display switched off: while it may be possible, it is much more difficult than necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To find all the mail log lines relevant to a particular mail message, you need to find the queue ID of the message.&lt;/P&gt;&lt;P&gt;Sometimes you can see it directly, as in your original post. In other situations, you may have to search the mail log for the correct source or destination address (note that the source address is not on the same log line as the destination address).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The format of Sendmail's log messages is:&lt;/P&gt;&lt;P&gt;&amp;lt;timestamp&amp;gt; &amp;lt;hostname&amp;gt; sendmail[&amp;lt;PID&amp;gt;]: &amp;lt;queue ID&amp;gt;: &amp;lt;information about the message Sendmail is processing&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you find one log line that refers to the message you want to know about, you can find the queue ID of the message, and make another search to find all the log lines relevant to that message. The dsn= and stat= fields are the most important when you want to see what went wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After Sendmail version 8.12.0, the situation is slightly more complicated, as there may be two queue IDs involved when two separate sendmail processes are handling the message (as in the log search results you pasted to the thread). Also remember that log messages written by two separate processes on the same second may or may not be in the exact chronological order in the log file.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 19:46:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-stopped-working/m-p/5742831#M53812</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-07-27T19:46:57Z</dc:date>
    </item>
  </channel>
</rss>

