<?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 Sendmail Smart relay query in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-smart-relay-query/m-p/2631831#M41465</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Currently all our UNIX e-mail goes via a UNIX host defined as a smart relay (DSsmtp:ccaent.ccamatil.com)&lt;BR /&gt;This server is to be decommissioned soon and I want to look at alturnatives.&lt;BR /&gt;&lt;BR /&gt;I would like to configure all our unix hosts so that e-mail to other unix hosts (all within the same domain name) go directly to that host.  Any unknown address mail I'd like to forwared via our SMTP gateway.&lt;BR /&gt;&lt;BR /&gt;We often send e-mail from UNIX to lotus Notes and the internet via the SMTP gateway.&lt;BR /&gt;&lt;BR /&gt;I have tried to remove the smart relay on some hosts and it then uses the MX record for thta domain to determine the e-mail gateway.  This sorks well for e-mail address to our domain, however for internet e-mail sendmail does not know how to forward it on to the SMTP gateway.&lt;BR /&gt;&lt;BR /&gt;Any Suggestions?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Scott&lt;BR /&gt;</description>
    <pubDate>Mon, 17 Dec 2001 21:46:02 GMT</pubDate>
    <dc:creator>Scott Caporale_1</dc:creator>
    <dc:date>2001-12-17T21:46:02Z</dc:date>
    <item>
      <title>Sendmail Smart relay query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-smart-relay-query/m-p/2631831#M41465</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Currently all our UNIX e-mail goes via a UNIX host defined as a smart relay (DSsmtp:ccaent.ccamatil.com)&lt;BR /&gt;This server is to be decommissioned soon and I want to look at alturnatives.&lt;BR /&gt;&lt;BR /&gt;I would like to configure all our unix hosts so that e-mail to other unix hosts (all within the same domain name) go directly to that host.  Any unknown address mail I'd like to forwared via our SMTP gateway.&lt;BR /&gt;&lt;BR /&gt;We often send e-mail from UNIX to lotus Notes and the internet via the SMTP gateway.&lt;BR /&gt;&lt;BR /&gt;I have tried to remove the smart relay on some hosts and it then uses the MX record for thta domain to determine the e-mail gateway.  This sorks well for e-mail address to our domain, however for internet e-mail sendmail does not know how to forward it on to the SMTP gateway.&lt;BR /&gt;&lt;BR /&gt;Any Suggestions?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Scott&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Dec 2001 21:46:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-smart-relay-query/m-p/2631831#M41465</guid>
      <dc:creator>Scott Caporale_1</dc:creator>
      <dc:date>2001-12-17T21:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Smart relay query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-smart-relay-query/m-p/2631832#M41466</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;You need to have $m macro defined to get this working. Add the Dmyourdomain to &lt;BR /&gt;the sendmail.cf file. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 17 Dec 2001 21:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-smart-relay-query/m-p/2631832#M41466</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-17T21:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Smart relay query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-smart-relay-query/m-p/2631833#M41467</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; Here is the comments in the sendmail.cf file regarding this:&lt;BR /&gt;****&lt;BR /&gt;&lt;BR /&gt;# Direct SMTP connection with local domain:                                    #&lt;BR /&gt;#                                                                              #&lt;BR /&gt;#      To deliver mail destined for hosts within the local domain directly,    #&lt;BR /&gt;#      while sending all other mail to the "Smart Relay" listed above, you     #&lt;BR /&gt;#      will need to uncomment the line in ruleset 0 following the comment:     #&lt;BR /&gt;#                                                                              #&lt;BR /&gt;#      # See if we are supposed to deliver to hosts in the local domain        #&lt;BR /&gt;#                                                                              #&lt;BR /&gt;#      Also ensure the $m macro gets defined.  It gets defined internally      #&lt;BR /&gt;#      from $j macro. You can check if it is set by doing the following:       #&lt;BR /&gt;#                                                                              #&lt;BR /&gt;#      sendmail -bt                                                            #&lt;BR /&gt;#      &amp;gt; $m                                                                    #&lt;BR /&gt;#                                                                              #&lt;BR /&gt;#      If $m is undefined, you can define it as follows:                       #&lt;BR /&gt;#      eg: if FOO.com is your local domain, define it as                       #&lt;BR /&gt;#          DmFOO.com                                                           #&lt;BR /&gt; If $m is undefined, you can define it as follows:                       #&lt;BR /&gt;#      eg: if FOO.com is your local domain, define it as                       #&lt;BR /&gt;#          DmFOO.com  &lt;BR /&gt;&lt;BR /&gt;{The entry is:&lt;BR /&gt;# See if we are supposed to deliver to hosts in the local domain&lt;BR /&gt;#R$* &amp;lt; @ $* &amp;gt; $*                $: $&amp;gt;check_local &amp;lt;$m&amp;gt; $1 &amp;lt; @ $2 &amp;gt; $3    Local Domain?&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;**&lt;BR /&gt;&lt;BR /&gt;  So, you can set the Dm entry and uncomments the ruleset to get it working.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj</description>
      <pubDate>Mon, 17 Dec 2001 22:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-smart-relay-query/m-p/2631833#M41467</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-12-17T22:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Smart relay query</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-smart-relay-query/m-p/2631834#M41468</link>
      <description>Thanks Guys,&lt;BR /&gt;&lt;BR /&gt;I have tested this on our test server and things are looking good so far.  As we are using DNS I did not need to set the Dm macro.&lt;BR /&gt;&lt;BR /&gt;when I ran # sendmail -bt&lt;BR /&gt;             &amp;gt; $m&lt;BR /&gt;&lt;BR /&gt;it returned with the correct domain.&lt;BR /&gt;&lt;BR /&gt;What do I do if i have a few local domain I want to try sending directly to first.  Can the Dm marco take more than one domain?&lt;BR /&gt; &lt;BR /&gt;My understanding is that sendmail will apply any rules before forwarding the mail to the defind smart relay (our smtp gateway in this case).  Is this correct?&lt;BR /&gt;&lt;BR /&gt;Thanks, Scott&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Dec 2001 04:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-smart-relay-query/m-p/2631834#M41468</guid>
      <dc:creator>Scott Caporale_1</dc:creator>
      <dc:date>2001-12-18T04:50:43Z</dc:date>
    </item>
  </channel>
</rss>

