<?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 DS macro in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915330#M108262</link>
    <description>TG - 10 points - excellent!!</description>
    <pubDate>Fri, 28 Feb 2003 04:04:58 GMT</pubDate>
    <dc:creator>Michael Burbury</dc:creator>
    <dc:date>2003-02-28T04:04:58Z</dc:date>
    <item>
      <title>Sendmail DS macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915325#M108257</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have two outbound smart email relays/gateways (Trend Micro Interscan Viruswall).&lt;BR /&gt;&lt;BR /&gt;I have currently setup the Sendmail DS macro to point to one of them for outbound email routing, but the system blew a power supply yesterday and outbound email stopped until I edited sendmail.cf and changed the DS macro to point to the other gateway and restarted sendmail.  Is it possible to specify two outbound smart relays (and is it possible to load balance outbound email using this method?)&lt;BR /&gt;&lt;BR /&gt;Appreciate help from Sendmail guru.</description>
      <pubDate>Thu, 27 Feb 2003 22:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915325#M108257</guid>
      <dc:creator>Michael Burbury</dc:creator>
      <dc:date>2003-02-27T22:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DS macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915326#M108258</link>
      <description>I don't think you can do that, but here is how I'd kludge around it. I'm turning on notify because if I'm wrong, I want to know how.&lt;BR /&gt;&lt;BR /&gt;If I'm right though....&lt;BR /&gt;&lt;BR /&gt;Assuming you can ping the gataway(we can't) you can create a cron job that occaisionally pings the main gateway.  no response, it switches to the alternate sendmail.cf and restarts sendmail daemon.&lt;BR /&gt;&lt;BR /&gt;Probably better is a job that scan's the mail log /var/adm/syslog/mail.log for connect failures and does the same.&lt;BR /&gt;&lt;BR /&gt;Here is the flow&lt;BR /&gt;&lt;BR /&gt;tail /var/adm/syslog/mail.log | grep &lt;A word="" that="" certainly="" is="" a="" connect="" error="" target="_blank"&gt;&lt;BR /&gt;&lt;BR /&gt;then the job does this.&lt;BR /&gt;&lt;BR /&gt;cp /etc/sendmail.alt /etc/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/sendmail stop&lt;BR /&gt;/sbin/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/A&gt;</description>
      <pubDate>Thu, 27 Feb 2003 22:59:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915326#M108258</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-02-27T22:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DS macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915327#M108259</link>
      <description>Thanks, 5 points for an interesting workaround.  Though we do several thousand emails a day (constantly almost 24x7) so load balancing would be my preference if anyone knows a way to achieve it?</description>
      <pubDate>Thu, 27 Feb 2003 23:16:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915327#M108259</guid>
      <dc:creator>Michael Burbury</dc:creator>
      <dc:date>2003-02-27T23:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DS macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915328#M108260</link>
      <description>Yes you can do that by seperating hostnames by a colon with the DS &lt;BR /&gt;&lt;BR /&gt;DShostA:hostB:hostC&lt;BR /&gt;&lt;BR /&gt;First,it will look for hostA and if hostA does not respond then it will look for hostB and so on.&lt;BR /&gt;Like above it can be redundant.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Feb 2003 03:39:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915328#M108260</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-02-28T03:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DS macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915329#M108261</link>
      <description>I learned something new.&lt;BR /&gt;&lt;BR /&gt;It's not really load balancing, but it seems to provide redundancy and it sort of load balances if the cause of the problem is overload on A&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 28 Feb 2003 04:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915329#M108261</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-02-28T04:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail DS macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915330#M108262</link>
      <description>TG - 10 points - excellent!!</description>
      <pubDate>Fri, 28 Feb 2003 04:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-ds-macro/m-p/2915330#M108262</guid>
      <dc:creator>Michael Burbury</dc:creator>
      <dc:date>2003-02-28T04:04:58Z</dc:date>
    </item>
  </channel>
</rss>

