<?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 not sending to Relay in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730624#M85845</link>
    <description>Unfortunately, out-of-the-box [RHEL] sendmail config doesn't allow to send email if sendmail if down.&lt;BR /&gt;As far as I remember, if you remove /etc/mail/submit.cf, you'll be able to send email even when sendmail is down.</description>
    <pubDate>Tue, 14 Feb 2006 03:30:16 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2006-02-14T03:30:16Z</dc:date>
    <item>
      <title>Sendmail not sending to Relay</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730620#M85841</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have the sendmail daemon disabled, and we're wanting to send mail to a relay server using a "Smart" relay host.  (We have this same config running on other servers and it works fine for us)&lt;BR /&gt;&lt;BR /&gt;I just built a system with our imaging product and after the install, I notice I can't send mail to our relay.  The OS here is RHES-3.0.  I'm getting the following in my /var/log/maillog:&lt;BR /&gt;&lt;BR /&gt;Feb 13 15:35:45 yogi sendmail[4466]: k1DKZjWZ004466: to=john.doe@mynet.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30066, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]&lt;BR /&gt;:q!&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Feb 2006 15:47:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730620#M85841</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2006-02-13T15:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail not sending to Relay</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730621#M85842</link>
      <description>Shalom KC,&lt;BR /&gt;&lt;BR /&gt;Have you ever generated a sendmail.cf file from a sendmail.mc macro?&lt;BR /&gt;&lt;BR /&gt;It would appear that your sendmail.cf configuration is set to refuse from localhost.&lt;BR /&gt;&lt;BR /&gt;I'd need to see the sendmail.mc file.&lt;BR /&gt;&lt;BR /&gt;You can probably fix this by installing a sendmail.cf default file.&lt;BR /&gt;&lt;BR /&gt;rpm -e sendmail....&lt;BR /&gt;&lt;BR /&gt;rpm ivh it back in.&lt;BR /&gt;&lt;BR /&gt;This will get you a default sendmail.cf&lt;BR /&gt;&lt;BR /&gt;Then try again the mail.&lt;BR /&gt;&lt;BR /&gt;You set smartrelay with the DS directive?&lt;BR /&gt;&lt;BR /&gt;The relay server must explicity accept mail from this machine.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Feb 2006 15:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730621#M85842</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-13T15:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail not sending to Relay</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730622#M85843</link>
      <description>That is exactly what I told you in your previous post. If you disable the sendmail service, it will refuse the connection and your relay won't work.</description>
      <pubDate>Mon, 13 Feb 2006 16:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730622#M85843</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-02-13T16:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail not sending to Relay</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730623#M85844</link>
      <description>It is possible to not have the sendmail daemon running and relay mail that is generated locally. Thats why I think the sendmail.cf file is not stock.&lt;BR /&gt;&lt;BR /&gt;I may be wrong. Sendmail has been giving me a headache lately.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Feb 2006 18:56:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730623#M85844</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-13T18:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail not sending to Relay</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730624#M85845</link>
      <description>Unfortunately, out-of-the-box [RHEL] sendmail config doesn't allow to send email if sendmail if down.&lt;BR /&gt;As far as I remember, if you remove /etc/mail/submit.cf, you'll be able to send email even when sendmail is down.</description>
      <pubDate>Tue, 14 Feb 2006 03:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730624#M85845</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2006-02-14T03:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail not sending to Relay</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730625#M85846</link>
      <description>You are right Vitaly. If you move/remove /etc/mail/submit.cf, you are able to send mail with sendmail service down. I just tested.</description>
      <pubDate>Tue, 14 Feb 2006 06:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730625#M85846</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-02-14T06:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail not sending to Relay</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730626#M85847</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If you just want to relay mail. Use the defaulkt config that comes with RHEL And add smarthost entry in the sendmail.cf file&lt;BR /&gt;where smarthost will be the name of the mail server you want to forward mails to.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 06:58:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730626#M85847</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2006-02-14T06:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail not sending to Relay</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730627#M85848</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Vitaly is right, the DS directive needs to be configured, then the mail should relay.&lt;BR /&gt;&lt;BR /&gt;Going to a default sendmail.cf and then modifying the DS directive should permit mail to relay with sendmail not running.&lt;BR /&gt;&lt;BR /&gt;You could also always configure cron to run a sendmail -v -q &lt;BR /&gt;&lt;BR /&gt;This would run the queue regularly and push mail off the server, if DS was set up correctly to a server that permits relay.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Feb 2006 07:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-sending-to-relay/m-p/3730627#M85848</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-14T07:12:27Z</dc:date>
    </item>
  </channel>
</rss>

