<?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 relaying in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858423#M44861</link>
    <description>Try putting square brackets around your smart-host, i.e.:&lt;BR /&gt;&lt;BR /&gt;DEFINE(`SMART_HOST', `[my.relay.server]');&lt;BR /&gt;&lt;BR /&gt;This prevents Sendmail trying to do it's usual A/MX lookup's to get the appropraite mail server for that name.</description>
    <pubDate>Sun, 29 Aug 2004 18:36:01 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2004-08-29T18:36:01Z</dc:date>
    <item>
      <title>sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858408#M44846</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Running with RH AS3.0 on an Intel.&lt;BR /&gt;&lt;BR /&gt;Working with sendmail and trying to get it to relay to a Smart host. I set the DS variable to the name of the SMART HOST and then recycle the sendmail process - service sendmail restart.&lt;BR /&gt;&lt;BR /&gt;It is still trying to send to localhost - doesn't go anywhere. What am I missing?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Aug 2004 13:38:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858408#M44846</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-26T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858409#M44847</link>
      <description>Standard tool run.&lt;BR /&gt;&lt;BR /&gt;mailq&lt;BR /&gt;&lt;BR /&gt;Is the mail queuing up or going to the bit bucket&lt;BR /&gt;&lt;BR /&gt;sendmail -v -q interactively push the queue and get the error messages&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sendmail -v -d8 -d38 someone@localhost&lt;BR /&gt;type some text&lt;BR /&gt;&lt;ENTER&gt;&lt;BR /&gt;.&lt;BR /&gt;&lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;Pretty much get the same diags. The error message will be meaningful and can be acted upon for correction.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
      <pubDate>Thu, 26 Aug 2004 21:36:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858409#M44847</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-08-26T21:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858410#M44848</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.copy&lt;BR /&gt;&lt;BR /&gt;vi /etc/mail/sendmail.mc&lt;BR /&gt;   set the line below without dnl at the begining:&lt;BR /&gt;   define(`SMART_HOST',`atlsmtpx.hp.com')dnl&lt;BR /&gt;&lt;BR /&gt;m4 /etc/mail/sendmail.mc \&lt;BR /&gt;&amp;gt;  /etc/mail/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;It should now send emails trough your smart host, in my case atlsmtpx.nokia.com.&lt;BR /&gt;&lt;BR /&gt;If you want your linux accept incomming emails from another host, REMOVE  a line in sendmail.mc like this before running m4:&lt;BR /&gt;DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')&lt;BR /&gt;&lt;BR /&gt;If you have postfix(replacement for sendmail in RH) configured as your MTA, sendmail configuration wonÂ´t make any effect.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cel</description>
      <pubDate>Fri, 27 Aug 2004 07:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858410#M44848</guid>
      <dc:creator>Celso Medina Kern</dc:creator>
      <dc:date>2004-08-27T07:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858411#M44849</link>
      <description>Forgot,&lt;BR /&gt;&lt;BR /&gt;After changing sendmail, of course there is a need for restarting:&lt;BR /&gt;# service sendmail restart</description>
      <pubDate>Fri, 27 Aug 2004 07:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858411#M44849</guid>
      <dc:creator>Celso Medina Kern</dc:creator>
      <dc:date>2004-08-27T07:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858412#M44850</link>
      <description>Here is a sample of what is happening when I try to send mail from my Linux system. The output below says that it is connecting to 127.0.0.1 instead of the SMART RELAY HOST that I defined in the sendmail.cf file using the DS variable and when I created a new sendmail.cf file using m4. Yes, service sendmail was stop/started/restarted. Why is it not using the SMART HOST as defined?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;me@mydom.com... Connecting to [127.0.0.1] via relay...&lt;BR /&gt;220 mybox.mydom.com ESMTP Sendmail 8.12.10/8.12.10; Fri, 27 Aug 2004 08:50:46 -0600&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; EHLO mybox.mydom.com&lt;BR /&gt;250-mybox.mydom.com Hello mybox.mydom.com [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 GSSAPI 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:&lt;ME&gt; SIZE=12 AUTH=me@mybox.mydom.com&lt;BR /&gt;250 2.1.0 &lt;ME&gt;... Sender ok&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RCPT To:&lt;MUFORST.MYLAST&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; DATA&lt;BR /&gt;250 2.1.5 &lt;MYFIRST.MYLAST&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 i7REokbJ006098 Message accepted for delivery&lt;BR /&gt;myfirst.mylast@myotherdom.com... Sent (i7REokbJ006098 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 mybox.mydom.com closing connection&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/MYFIRST.MYLAST&gt;&lt;/MUFORST.MYLAST&gt;&lt;/ME&gt;&lt;/ME&gt;</description>
      <pubDate>Fri, 27 Aug 2004 10:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858412#M44850</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-27T10:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858413#M44851</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;These sendmail stuff gets me crazy sometimes.&lt;BR /&gt;&lt;BR /&gt;I remembered that you have to say what domains you allow RELAY in /etc/mail/access:&lt;BR /&gt;&lt;BR /&gt;# Check the /usr/share/doc/sendmail/README.cf file for a description&lt;BR /&gt;# of the format of this file. (search for access_db in that file)&lt;BR /&gt;# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc&lt;BR /&gt;# package.&lt;BR /&gt;#&lt;BR /&gt;# by default we allow relaying from localhost...&lt;BR /&gt;localhost.localdomain           RELAY&lt;BR /&gt;localhost                       RELAY&lt;BR /&gt;127.0.0.1                       RELAY&lt;BR /&gt;bra.mydomain.com                RELAY&lt;BR /&gt;&lt;BR /&gt;If this not help at all i can attach my sendmail.mc and cf for you to compare with.&lt;BR /&gt;&lt;BR /&gt;Celso</description>
      <pubDate>Fri, 27 Aug 2004 13:52:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858413#M44851</guid>
      <dc:creator>Celso Medina Kern</dc:creator>
      <dc:date>2004-08-27T13:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858414#M44852</link>
      <description>check the resultant sendmail.cf error.&lt;BR /&gt;&lt;BR /&gt;Then see if your m4 script is working right.&lt;BR /&gt;&lt;BR /&gt;Attaching example that WORKS.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 27 Aug 2004 14:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858414#M44852</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-08-27T14:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858415#M44853</link>
      <description>I am going brain dead on this. All I want to do is define a SMART HOST so that mail from my Linux system is relayed to the mail server and let it do the addressing and sending. &lt;BR /&gt;&lt;BR /&gt;This linux system should do nothing more that send its locally generated mail to a mail server. &lt;BR /&gt;&lt;BR /&gt;I have defined the SMART HOST in the sendmail.cf file, I have defined it in the sendmail.mc file and then use m4 to generate a new cf file. (And as always, restart service when changes happen).&lt;BR /&gt;&lt;BR /&gt;Mail I send out from this Linux system is still connecting to 127.0.0.1 (itself) and the mail goes nowhere!&lt;BR /&gt;&lt;BR /&gt;I can resolve forward and backwards. &lt;BR /&gt;&lt;BR /&gt;I have setup, defined, and compiled mailertable with no difference in the relay.&lt;BR /&gt;&lt;BR /&gt;I am missing something, but what?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Aug 2004 15:07:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858415#M44853</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-27T15:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858416#M44854</link>
      <description>Two things about sendmail.mc:&lt;BR /&gt;FEATURE(`accept_unresolvable_domains')dnl&lt;BR /&gt;FEATURE(`relay_based_on_MX')dnl&lt;BR /&gt;&lt;BR /&gt;these two lines cannot have dnl in the beggining.&lt;BR /&gt;&lt;BR /&gt;Celso</description>
      <pubDate>Fri, 27 Aug 2004 15:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858416#M44854</guid>
      <dc:creator>Celso Medina Kern</dc:creator>
      <dc:date>2004-08-27T15:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858417#M44855</link>
      <description>they do not have dnl in front</description>
      <pubDate>Fri, 27 Aug 2004 15:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858417#M44855</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-27T15:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858418#M44856</link>
      <description>Compare with my sendmail.mc and see what can be wrong...&lt;BR /&gt;&lt;BR /&gt;See also if relaying is allowed at all in /etc/mail/access as i mentioned above.&lt;BR /&gt;&lt;BR /&gt;Celso</description>
      <pubDate>Fri, 27 Aug 2004 15:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858418#M44856</guid>
      <dc:creator>Celso Medina Kern</dc:creator>
      <dc:date>2004-08-27T15:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858419#M44857</link>
      <description>Got the relaying in the access.&lt;BR /&gt;Did a makemap hash /etc/mail/access.db &amp;lt; /etc/mail/access when I made changes. Right now the only entries in this file are my system name and localhost and 127.0.0.1. Need to be able to relay local mail from my system to the mail server. (I emphasize local mail - my system will not accept inbound mail, it only sends out, at least that is what I am trying to do)</description>
      <pubDate>Fri, 27 Aug 2004 15:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858419#M44857</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-27T15:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858420#M44858</link>
      <description>Other things i can recall:&lt;BR /&gt;&lt;BR /&gt;- relay being resolved as localhost, ugly, but possible;&lt;BR /&gt;&lt;BR /&gt;- mailertable configured;&lt;BR /&gt;&lt;BR /&gt;- iptables redirection;&lt;BR /&gt;&lt;BR /&gt;- ...stuck</description>
      <pubDate>Fri, 27 Aug 2004 15:57:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858420#M44858</guid>
      <dc:creator>Celso Medina Kern</dc:creator>
      <dc:date>2004-08-27T15:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858421#M44859</link>
      <description>Did a diff on your mc and mine. &lt;BR /&gt;&lt;BR /&gt;A quick glance shows that most of the differences are because I am leaving the comments in my file.&lt;BR /&gt;&lt;BR /&gt;I have attached the diff file&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Aug 2004 15:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858421#M44859</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-27T15:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858422#M44860</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;This is kind of a step back from the other responses but just to be sure you have it covered....  Is there an entry for your SMART HOST in your /etc/hosts file.  Have you checked basic connectivity with it, ie: ping?&lt;BR /&gt;Try doing a telnet to port 25 on the relay host and see what kind of a response you get.  This way you can be sure your issue is based on your host and not something like the SMART HOST isn't accepting relays from you.&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 27 Aug 2004 22:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858422#M44860</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2004-08-27T22:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858423#M44861</link>
      <description>Try putting square brackets around your smart-host, i.e.:&lt;BR /&gt;&lt;BR /&gt;DEFINE(`SMART_HOST', `[my.relay.server]');&lt;BR /&gt;&lt;BR /&gt;This prevents Sendmail trying to do it's usual A/MX lookup's to get the appropraite mail server for that name.</description>
      <pubDate>Sun, 29 Aug 2004 18:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858423#M44861</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-08-29T18:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858424#M44862</link>
      <description>Have made some progress though I'm not sure how.&lt;BR /&gt;&lt;BR /&gt;Sendmail mail from my Linux system is still connecting to 127.0.0.1 as seen by the verbose output. But now it is relaying that mail to the SMART HOST. It does not show this action (as seen in the verbose output of sendmail -v -d8.99 -d38.99) but it is getting there, somehow. &lt;BR /&gt;&lt;BR /&gt;The mail is being received in my Exchange mailbox which is what I need.&lt;BR /&gt;&lt;BR /&gt;Any ideas of why this is happening?&lt;BR /&gt;&lt;BR /&gt;Many thanks to all!</description>
      <pubDate>Mon, 30 Aug 2004 13:36:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858424#M44862</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-30T13:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858425#M44863</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;It could be because MX records in DNS is saying who is the mailer exchanger for de destination domain. &lt;BR /&gt;&lt;BR /&gt;Other crazy thing i could imagine is some redirection in your MTA(virtualusertable), or in Iptable, run iptable -L to see the security policy.&lt;BR /&gt;&lt;BR /&gt;Perhaps your central mail was not accepting emails from your domain, and now someone has fixed that.&lt;BR /&gt;&lt;BR /&gt;Sendmail will not accept mail for local delivery for hosts that are not specified by name in /etc/mail/local-host-names. If you included your smart host here, it is why it started to work(and you still have the smart relay not working as it is suposed to be)&lt;BR /&gt;&lt;BR /&gt;Celso</description>
      <pubDate>Mon, 30 Aug 2004 14:06:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858425#M44863</guid>
      <dc:creator>Celso Medina Kern</dc:creator>
      <dc:date>2004-08-30T14:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858426#M44864</link>
      <description>make this change to the submit.mc/submit.cf file as well.  The DSrelayserver.com line.&lt;BR /&gt;&lt;BR /&gt;define(`SMART_HOST',`atlsmtpx.hp.com')dnl&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Oct 2004 15:10:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858426#M44864</guid>
      <dc:creator>Jeff Hoevenaar</dc:creator>
      <dc:date>2004-10-14T15:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail not relaying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858427#M44865</link>
      <description>closed - thanks to all</description>
      <pubDate>Thu, 14 Oct 2004 15:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-not-relaying/m-p/4858427#M44865</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-10-14T15:15:47Z</dc:date>
    </item>
  </channel>
</rss>

