<?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: mailertable doesn't work on sendmail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013952#M772102</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If you disabled smart relay, then mailertable rules might come into play.&lt;BR /&gt;&lt;BR /&gt;I'm wondering what you were trying to accomplish?&lt;BR /&gt;&lt;BR /&gt;At this point all outbound mail goes out via the smart relay. I can't even tell from the information posted if you use the system for inbound mail.&lt;BR /&gt;&lt;BR /&gt;An example from mailertable and expected results would be helpful.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 14 Nov 2006 10:20:22 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-11-14T10:20:22Z</dc:date>
    <item>
      <title>mailertable doesn't work on sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013951#M772101</link>
      <description>Hi All&lt;BR /&gt;&lt;BR /&gt;I'm trying to configure mailertable on my HP-UX 11.11 system with sendmail 8.9.3 (PHNE_29774                           sendmail(1m) 8.9.3 patch).&lt;BR /&gt; &lt;BR /&gt;I added on sendmail.cf&lt;BR /&gt;Kmailertable hash /etc/mail/mailertable&lt;BR /&gt;and &lt;BR /&gt;DSrelay.domain.internal&lt;BR /&gt;&lt;BR /&gt;and I wrote on /etc/mail/mailertable &lt;BR /&gt;&lt;BR /&gt;domain.external  smtp:relay.domain.external&lt;BR /&gt;&lt;BR /&gt;after restarting sendmail, I tryed to send emails to user@domain.external but all emails were routed via DS smarthost relay.domain.internal&lt;BR /&gt;&lt;BR /&gt;It seems that sendmail completely ignores mailertable rules.&lt;BR /&gt;&lt;BR /&gt;Any suggestion?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manuela &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Nov 2006 10:09:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013951#M772101</guid>
      <dc:creator>Manuela Italia</dc:creator>
      <dc:date>2006-11-14T10:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: mailertable doesn't work on sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013952#M772102</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If you disabled smart relay, then mailertable rules might come into play.&lt;BR /&gt;&lt;BR /&gt;I'm wondering what you were trying to accomplish?&lt;BR /&gt;&lt;BR /&gt;At this point all outbound mail goes out via the smart relay. I can't even tell from the information posted if you use the system for inbound mail.&lt;BR /&gt;&lt;BR /&gt;An example from mailertable and expected results would be helpful.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Nov 2006 10:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013952#M772102</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-11-14T10:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: mailertable doesn't work on sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013953#M772103</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I would like, using mailertable, to specify destination servers for specific mail domains:&lt;BR /&gt;&lt;BR /&gt;If I send an email locally from my hp-ux system&lt;BR /&gt;&lt;BR /&gt;mail to everyuser@domain.external &lt;BR /&gt;should be routed to host : relay.domain.external  &lt;BR /&gt;&lt;BR /&gt;mail to everyuser@domain.internal&lt;BR /&gt;should be routed to host : relay.domain.internal&lt;BR /&gt;&lt;BR /&gt;thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manuela</description>
      <pubDate>Tue, 14 Nov 2006 10:53:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013953#M772103</guid>
      <dc:creator>Manuela Italia</dc:creator>
      <dc:date>2006-11-14T10:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: mailertable doesn't work on sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013954#M772104</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;a) Firstly, did you enable ALL relevant lines in /etc/mail/sendmail.cf. Here are defaults from an HP-UX server:&lt;BR /&gt;&lt;BR /&gt;#Kmailertable dbm -o /etc/mail/mailertable&lt;BR /&gt;#R&amp;lt; $+ &amp;gt; $*             $: &amp;lt; $(mailertable $1 $) &amp;gt; $2   lookup&lt;BR /&gt;###  Ruleset 90 -- try domain part of mailertable entry         ###&lt;BR /&gt;#R$* &amp;lt;$- . $+ &amp;gt; $*      $: $1$2 &amp;lt; $(mailertable .$3 $@ $1$2 $@ $2 $) &amp;gt; $4&lt;BR /&gt;#R$* &amp;lt; $* &amp;gt; $*          $: &amp;lt; $(mailertable . $@ $1$2 $) &amp;gt; $3    try "."&lt;BR /&gt;#R&amp;lt; $* &amp;gt; $*             $@ $2                           no mailertable match&lt;BR /&gt;&lt;BR /&gt;b) Secondly, did you create a HASH database&lt;BR /&gt;after editing the text file /etc/mail/mailertable. Something along the following lines:&lt;BR /&gt;&lt;BR /&gt;cd /etc/mail&lt;BR /&gt;makemap hash mailertable &lt;MAILERTABLE&gt;&lt;/MAILERTABLE&gt;&lt;BR /&gt;You can be even more creative in&lt;BR /&gt;mailertable. Here is an entry from&lt;BR /&gt;a production server for a company I manage:&lt;BR /&gt;&lt;BR /&gt;domain.dom esmtp:server1.dom1:server2.dom2&lt;BR /&gt;domain3.dom3 smtp:[server4.dom4]:server5.dom5]&lt;BR /&gt;&lt;BR /&gt;What it means: if server1.dom1 is avaiable,&lt;BR /&gt;email for domain.dom will be delivered to it,&lt;BR /&gt;if not, server2.dom2 will be tried...&lt;BR /&gt;&lt;BR /&gt;The second example by-passes DNS and resolves &lt;BR /&gt;SMTP gateway hostnames through local hosts file (hence square brackets).&lt;BR /&gt;&lt;BR /&gt;c) Thirdly, after changing sendmail.cf,&lt;BR /&gt;reload the daemon...&lt;BR /&gt;&lt;BR /&gt;d) Finally, your version of Sendmail MTA is&lt;BR /&gt;insecure and very old. An upgrade&lt;BR /&gt;is strongly recommended.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Wed, 15 Nov 2006 03:42:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013954#M772104</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2006-11-15T03:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: mailertable doesn't work on sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013955#M772105</link>
      <description>one little note to Dusan Baljevic's post.&lt;BR /&gt;perhaps it might be worth to change `-o dbm' to '-o hash' in Kmailertable definition if you use `makemap hash'</description>
      <pubDate>Wed, 15 Nov 2006 04:36:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013955#M772105</guid>
      <dc:creator>Sergey Akifiev_1</dc:creator>
      <dc:date>2006-11-15T04:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: mailertable doesn't work on sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013956#M772106</link>
      <description>Hi Dusan,&lt;BR /&gt;&lt;BR /&gt;I solved my problem following your hints.&lt;BR /&gt;I also disabled "DS" macro in sendmail.cf, defining smarthost rules on mailertable.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manuela</description>
      <pubDate>Thu, 16 Nov 2006 03:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailertable-doesn-t-work-on-sendmail/m-p/5013956#M772106</guid>
      <dc:creator>Manuela Italia</dc:creator>
      <dc:date>2006-11-16T03:54:12Z</dc:date>
    </item>
  </channel>
</rss>

