<?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 config in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-config/m-p/3667843#M243135</link>
    <description>You can configure the local mail to be delivered without going to the relay by creating the /etc/mail/local-host-names on the RH machines and inserting the hostname.&lt;BR /&gt;&lt;BR /&gt;Whenever a mail is created on you RH box, and sent, an attempt will be made to deliver it immediately. If it is unsuccessful, the mail will sit in the mail queue (thats why running as a deamon is useful because then it wakes up every now and again and tries to deliver the mail). In the absence of this, you would have to set up a cron job that invokes sendmail -q  to clear the queue of each of the hosts.&lt;BR /&gt;&lt;BR /&gt;Good Luck</description>
    <pubDate>Wed, 09 Nov 2005 10:54:40 GMT</pubDate>
    <dc:creator>Kofi ARTHIABAH</dc:creator>
    <dc:date>2005-11-09T10:54:40Z</dc:date>
    <item>
      <title>Sendmail config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-config/m-p/3667842#M243134</link>
      <description>I've managed to install Sendmail 8.13.3 - Revision 2.001 on my HP-UX machine.  It's config seems fine and working.  I have it relaying mail for all my other machines so they don't have to run Sendmail as a deamon.&lt;BR /&gt;&lt;BR /&gt;Most of the other machines are running Redhat and using sendmail 8.12.11.  They all use a submit.cf for sending mail out using the MSA.  Sendmail has to be running for it to deliver mail to mailboxes outside the machine or to local accounts.  I tweaked the submit.mc from this:&lt;BR /&gt;FEATURE(`msp', `[127.0.0.1]')dnl&lt;BR /&gt;to this:&lt;BR /&gt;FEATURE(`msp', `[relay-host-name]')dnl&lt;BR /&gt;(where relay-host-name is the host name of the HP-UX machine that is relaying mail for the subnet)&lt;BR /&gt;Then recreate the submit.cf.&lt;BR /&gt;This allows any invocation of sendmail to relay via my relay host.  This works fine for mail bound for an outside host, but also relays mail that is for local delivery.&lt;BR /&gt;&lt;BR /&gt;Is there anyway to configure sendmail to relay mail for outbound but still deliver local mail without running as a daemon?</description>
      <pubDate>Wed, 09 Nov 2005 10:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-config/m-p/3667842#M243134</guid>
      <dc:creator>Brian Willis</dc:creator>
      <dc:date>2005-11-09T10:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-config/m-p/3667843#M243135</link>
      <description>You can configure the local mail to be delivered without going to the relay by creating the /etc/mail/local-host-names on the RH machines and inserting the hostname.&lt;BR /&gt;&lt;BR /&gt;Whenever a mail is created on you RH box, and sent, an attempt will be made to deliver it immediately. If it is unsuccessful, the mail will sit in the mail queue (thats why running as a deamon is useful because then it wakes up every now and again and tries to deliver the mail). In the absence of this, you would have to set up a cron job that invokes sendmail -q  to clear the queue of each of the hosts.&lt;BR /&gt;&lt;BR /&gt;Good Luck</description>
      <pubDate>Wed, 09 Nov 2005 10:54:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-config/m-p/3667843#M243135</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2005-11-09T10:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-config/m-p/3667844#M243136</link>
      <description>That doesn't seem to work.  I think that only works if the message makes it into the MTA.  Since I've changed the MSA, it tries to relay through the machine I specified.  I don't think it ever sees the local-host-names.  When I envoke sendmail, it sends to the relay host.  If I set it back to localhost, the message just sits in the client mailq.  The message won't leave when I type sendmail -q or sendmail -Ac -q.</description>
      <pubDate>Wed, 09 Nov 2005 11:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-config/m-p/3667844#M243136</guid>
      <dc:creator>Brian Willis</dc:creator>
      <dc:date>2005-11-09T11:45:36Z</dc:date>
    </item>
  </channel>
</rss>

