<?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 relay question. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895646#M403167</link>
    <description>Thanks for the reply.  I have created the mailertable file in the /etc/mail directory.  The file has :&lt;BR /&gt;&lt;BR /&gt;abcd.com.au  smtp:10.4.32.200&lt;BR /&gt;&lt;BR /&gt;I have compiled the file with "makemap dbm mailertable &amp;lt; mailertable" , I have uncommented the entry in the sendmail.cf file for :&lt;BR /&gt;&lt;BR /&gt;# Mailer table (overriding domains)&lt;BR /&gt;Kmailertable dbm -o /etc/mail/mailertable&lt;BR /&gt;&lt;BR /&gt;And stopped and started sendmail.  It still seems to be trying to deliver to the original destination, can I use IP addresses or do they have to be names in the file ... or have i done something wrong here?&lt;BR /&gt;&lt;BR /&gt;Jason</description>
    <pubDate>Mon, 11 Apr 2005 23:31:40 GMT</pubDate>
    <dc:creator>Jason Young_3</dc:creator>
    <dc:date>2005-04-11T23:31:40Z</dc:date>
    <item>
      <title>Sendmail relay question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895643#M403164</link>
      <description>Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;Just after some guidance with a problem I am having with a sendmail server.  The scenario is :&lt;BR /&gt;&lt;BR /&gt;We have 3 mail relays into our network.&lt;BR /&gt;1 – is mail.abcd.com.au (MX Record priority 10)&lt;BR /&gt;2 – is mail2.efgh.net.au (MX Record priority 20)&lt;BR /&gt;3 – is postoffice.telstra.net.au (MX Record priority 30)&lt;BR /&gt;&lt;BR /&gt;Mail.for myuser@abcd.com.au is usually routed in from the internet to No.1 relay which works fine.  When No.1 fails the incoming mail is relayed to No.2.  This server accepts the mail (it is allowed in the relay-domains file) and then does a lookup for the domain abcd.com.au, trys to deliver to No.1 which fails, trys to deliver to No.2 which gives a routing loop so then delivers to No.3 (my interpretation).&lt;BR /&gt;What I want to happen is that when No.2 receives mail for the abcd.com.au domain it delivers the mail directly to an internal IP Address (10.X.X.X) which is an internal mail relay server.  Is there a way to map a domain name to a specific mail relay internal IP address in sendmail without looking up MX records in DNS?&lt;BR /&gt;&lt;BR /&gt;I am open to any suggestions.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;J</description>
      <pubDate>Mon, 11 Apr 2005 22:30:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895643#M403164</guid>
      <dc:creator>Jason Young_3</dc:creator>
      <dc:date>2005-04-11T22:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail relay question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895644#M403165</link>
      <description>You can do this on sendmail version 8.12.&lt;BR /&gt;I haven't tried on HPUX but i have sendmail running on Linux with version 8.12, in which you have a file called mailertable.&lt;BR /&gt;This file maps the domain to the respective hostname. So when sendmail recieves the mail for that domain instead of looking at MX record is relays to the defined host in the mailertable&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Mon, 11 Apr 2005 22:40:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895644#M403165</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2005-04-11T22:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail relay question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895645#M403166</link>
      <description>Correct, you can use a mailertable to map domains to mail servers.&lt;BR /&gt;&lt;BR /&gt;BTW, when host 2 receives an email when host 1 is down, it will not send mail to itself or host 3 as they have a lower preference value.</description>
      <pubDate>Mon, 11 Apr 2005 23:23:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895645#M403166</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2005-04-11T23:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail relay question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895646#M403167</link>
      <description>Thanks for the reply.  I have created the mailertable file in the /etc/mail directory.  The file has :&lt;BR /&gt;&lt;BR /&gt;abcd.com.au  smtp:10.4.32.200&lt;BR /&gt;&lt;BR /&gt;I have compiled the file with "makemap dbm mailertable &amp;lt; mailertable" , I have uncommented the entry in the sendmail.cf file for :&lt;BR /&gt;&lt;BR /&gt;# Mailer table (overriding domains)&lt;BR /&gt;Kmailertable dbm -o /etc/mail/mailertable&lt;BR /&gt;&lt;BR /&gt;And stopped and started sendmail.  It still seems to be trying to deliver to the original destination, can I use IP addresses or do they have to be names in the file ... or have i done something wrong here?&lt;BR /&gt;&lt;BR /&gt;Jason</description>
      <pubDate>Mon, 11 Apr 2005 23:31:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895646#M403167</guid>
      <dc:creator>Jason Young_3</dc:creator>
      <dc:date>2005-04-11T23:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail relay question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895647#M403168</link>
      <description>I think you will also need to make the following changes (if you haven't already).&lt;BR /&gt;&lt;BR /&gt;(1) Uncomment relevent sections in sendmail.cf. Search for mailertable will reveal them (ruleset 90 etc)&lt;BR /&gt;&lt;BR /&gt;(2) Try using square brackets around 10.4.32.200 in /etc/mail/mailertable to prevent sendmail from looking up MX record for that server.&lt;BR /&gt;&lt;BR /&gt;abcd.com.au smtp:[10.4.32.200]&lt;BR /&gt;&lt;BR /&gt;If you make changes to mailertable don't forget to rerun makemap and restart sendmail.</description>
      <pubDate>Tue, 12 Apr 2005 00:21:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895647#M403168</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-04-12T00:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail relay question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895648#M403169</link>
      <description>Everything seems to work fine now that I have all the sendmail.cf file etc setup correctly.  Thanks for all the help.</description>
      <pubDate>Tue, 12 Apr 2005 00:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895648#M403169</guid>
      <dc:creator>Jason Young_3</dc:creator>
      <dc:date>2005-04-12T00:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail relay question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895649#M403170</link>
      <description>Thanks Everyone.</description>
      <pubDate>Tue, 12 Apr 2005 00:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-relay-question/m-p/4895649#M403170</guid>
      <dc:creator>Jason Young_3</dc:creator>
      <dc:date>2005-04-12T00:30:00Z</dc:date>
    </item>
  </channel>
</rss>

