<?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: Adding default domain to outgoing mail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260940#M569207</link>
    <description>Hey Earl - Geoff here....&lt;BR /&gt;&lt;BR /&gt;If I understand you correctly...you want mail sent to "unix" id to go to user@yourdomian.com.&lt;BR /&gt;&lt;BR /&gt;You can do that with perhaps .forward files or with the alias file:&lt;BR /&gt;&lt;BR /&gt;joe: joe@yourdomain.com&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt; &lt;BR /&gt;</description>
    <pubDate>Tue, 27 Apr 2004 22:02:06 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-04-27T22:02:06Z</dc:date>
    <item>
      <title>Adding default domain to outgoing mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260938#M569205</link>
      <description>Currently we have some users who want to have e-mail to "user" delivered to "user@localdomain.com".  That way the users can receive e-mail in one spot and not have to check individual machines.&lt;BR /&gt;&lt;BR /&gt;     We are using sendmail on HP-UX 11 and 11i systems to forward mail to a central server running MS Exchange.  To complicate things, the Exchange servers can't assume the local domain because they handle several different domains.  I could use a user DB, but it seems to me it would be difficult to maintain across all the servers.&lt;BR /&gt;&lt;BR /&gt;     Is this something I should try to do with sendmail?  Is it easy to get sendmail to apply a defalt domain to the recepient's address?  The sendmail.cf file has been changed to set DR and DS to the MX record for the Exchange servers, and we use DM to masquerade our internal domain name to a consistent external one.  The DM macro affects the From address and header.  Is there something equivalent for the To and recepient?  Would I have to change sendmail's rewrite rules?&lt;BR /&gt;-- &lt;BR /&gt;Earl Locken&lt;BR /&gt;elocken@petro-canada.ca</description>
      <pubDate>Tue, 27 Apr 2004 18:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260938#M569205</guid>
      <dc:creator>Earl Locken</dc:creator>
      <dc:date>2004-04-27T18:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding default domain to outgoing mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260939#M569206</link>
      <description>Easiset:&lt;BR /&gt;&lt;BR /&gt;in sendmail.cf&lt;BR /&gt;&lt;BR /&gt;Djlocaldomain.com&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;You can also do it with the system hostname.&lt;BR /&gt;&lt;BR /&gt;in /etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;change hostname=servername&lt;BR /&gt;&lt;BR /&gt;to &lt;BR /&gt;&lt;BR /&gt;hostname.localdomain.com&lt;BR /&gt;&lt;BR /&gt;This will not work if any portion of the name exceeds 8 characters.&lt;BR /&gt;&lt;BR /&gt;You can also do it with sendmail m4 macro programming in the /usr/newconfig/etc/mail/cf/cf/generic-hpux10.cf &lt;BR /&gt;&lt;BR /&gt;file. Thats where you should do your macro programming.&lt;BR /&gt;&lt;BR /&gt;masquerade will work.&lt;BR /&gt;&lt;BR /&gt;Here is a script that does the m4 macro programming and gen_cf work as well.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/buildmail.hpux.ws" target="_blank"&gt;http://www.hpux.ws/buildmail.hpux.ws&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 27 Apr 2004 21:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260939#M569206</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-04-27T21:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding default domain to outgoing mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260940#M569207</link>
      <description>Hey Earl - Geoff here....&lt;BR /&gt;&lt;BR /&gt;If I understand you correctly...you want mail sent to "unix" id to go to user@yourdomian.com.&lt;BR /&gt;&lt;BR /&gt;You can do that with perhaps .forward files or with the alias file:&lt;BR /&gt;&lt;BR /&gt;joe: joe@yourdomain.com&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2004 22:02:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260940#M569207</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-04-27T22:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding default domain to outgoing mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260941#M569208</link>
      <description>Steven - Dj might work - but, if I understand it correctly - then email will work to all users who have a Unix account - but if you try to send to someone in the company that doesn't have an Unix id - you will get something like " sendmail[123]: 4330: --&amp;gt; 550 ... User unknown"...because "yourcompany.com" is fully locally managed by sendmail....&lt;BR /&gt;&lt;BR /&gt;Have to test this....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2004 22:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260941#M569208</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-04-27T22:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding default domain to outgoing mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260942#M569209</link>
      <description>Tested the Dj - doesn't work - aliases does....&lt;BR /&gt;&lt;BR /&gt;I did find this on page 398 of Sendmail book:&lt;BR /&gt;&lt;BR /&gt;F=C&lt;BR /&gt;Add @domain to recipient&lt;BR /&gt;&lt;BR /&gt;The F=C flag causes sendmail to append an @domain extension to any recipient which lacks one...&lt;BR /&gt;&lt;BR /&gt;However, I can't seem to figure out how to implement - tried modifying the Mlocal as well as Ruleset 96.....&lt;BR /&gt;&lt;BR /&gt;There is a warning - stating that F=C should be avoided for local delivery...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 28 Apr 2004 08:47:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260942#M569209</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-04-28T08:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding default domain to outgoing mail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260943#M569210</link>
      <description>The C flag seems to be just what I wanted.  If I add it to the flags for the Mrelay mailer messages will get the default domain name.   Thanks!</description>
      <pubDate>Wed, 28 Apr 2004 16:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-default-domain-to-outgoing-mail/m-p/3260943#M569210</guid>
      <dc:creator>Earl Locken</dc:creator>
      <dc:date>2004-04-28T16:38:25Z</dc:date>
    </item>
  </channel>
</rss>

