<?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-one server, 5 domains? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644030#M879150</link>
    <description>If your users access your server with a POP client or similar, the POP client handles the setting of the from address.&lt;BR /&gt;&lt;BR /&gt;In addition (the following assumes sendmail 8.8 or &amp;gt;):&lt;BR /&gt;&lt;BR /&gt;The genericstable feature handles mapping of the sender's address.  The format is something like&lt;BR /&gt;&lt;BR /&gt;usera     newuser@a.com&lt;BR /&gt;userb     myuers@b.com&lt;BR /&gt;&lt;BR /&gt;The genericstable should be put in /etc/mail/genericstable.  It's a dbm style file.  Make it with &lt;BR /&gt;&lt;BR /&gt;makemap dbm /etc/mail/genericstable &amp;lt; /etc/mail/genericstable&lt;BR /&gt;</description>
    <pubDate>Mon, 14 Jan 2002 13:28:25 GMT</pubDate>
    <dc:creator>Christopher Caldwell</dc:creator>
    <dc:date>2002-01-14T13:28:25Z</dc:date>
    <item>
      <title>Sendmail-one server, 5 domains?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644028#M879148</link>
      <description>We are running HP-UX 11.00 on one server for five distinct colleges.  One of our database products sends e-mail, but the domain that shows is the one of the server.  Each school would like for their domain to show whenever one of their users sends e-mail from the software.&lt;BR /&gt;&lt;BR /&gt;Is there any way to get that level of control using sendmail?  Ideally, I would like to be able to change the domain name of the sender based on the login of the user (so that if the user logged in is from SchoolA, the message would come from User@SchoolA.edu). Is there any way to configure sendmail to do this?  If not, is there anywhere in the mailing process where I can "hook" with a UNIX script to do this?&lt;BR /&gt;&lt;BR /&gt;If I include the line "From: User@SchoolA.edu" at the top of a message, that address appears as the originator.  However, I don't have control over the message generation from the level where the database software generates it, so I can't insert this line.  If sendmail won't support multiple source domains, is there a way I can "intercept" outgoing messages and modify them by setting/changing the "From" line as I mention above?  Thanks in advance for any help.</description>
      <pubDate>Mon, 14 Jan 2002 04:55:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644028#M879148</guid>
      <dc:creator>Jared Hamilton_1</dc:creator>
      <dc:date>2002-01-14T04:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail-one server, 5 domains?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644029#M879149</link>
      <description>Hi Jared,&lt;BR /&gt;&lt;BR /&gt;Try this link,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/cki/bin/doc.pl/sid=3b798f2006ce1d3d42/screen=ckiDisplayDocument?docId=200000052603519" target="_blank"&gt;http://us-support3.external.hp.com/cki/bin/doc.pl/sid=3b798f2006ce1d3d42/screen=ckiDisplayDocument?docId=200000052603519&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2002 05:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644029#M879149</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-14T05:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail-one server, 5 domains?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644030#M879150</link>
      <description>If your users access your server with a POP client or similar, the POP client handles the setting of the from address.&lt;BR /&gt;&lt;BR /&gt;In addition (the following assumes sendmail 8.8 or &amp;gt;):&lt;BR /&gt;&lt;BR /&gt;The genericstable feature handles mapping of the sender's address.  The format is something like&lt;BR /&gt;&lt;BR /&gt;usera     newuser@a.com&lt;BR /&gt;userb     myuers@b.com&lt;BR /&gt;&lt;BR /&gt;The genericstable should be put in /etc/mail/genericstable.  It's a dbm style file.  Make it with &lt;BR /&gt;&lt;BR /&gt;makemap dbm /etc/mail/genericstable &amp;lt; /etc/mail/genericstable&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2002 13:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644030#M879150</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2002-01-14T13:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail-one server, 5 domains?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644031#M879151</link>
      <description>I've tried to use genericstable but had no luck.  Here is what I've done:&lt;BR /&gt;&lt;BR /&gt;1.  I created a text file /etc/mail/genericstable:&lt;BR /&gt;unix_login      someaddress@somedomain.com&lt;BR /&gt;&lt;BR /&gt;2.  I ran makemap dbm /etc/mail/genericstable &amp;lt; /etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;3.  In /etc/mail/sendmail.cf, I removed the comment so that the following line was active:&lt;BR /&gt;Kgenerics dbm /etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;4.  I stopped and restarted sendmail.&lt;BR /&gt;&lt;BR /&gt;I've now seen several references online that say I need to re-make sendmail to support genericstable, but since it was just commented out in sendmail.cf (my step 3 above) I'm not sure if I need to do that. &lt;BR /&gt;&lt;BR /&gt;Also, when I start sendmail, here is what is output:&lt;BR /&gt;&lt;BR /&gt;/etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total                   &lt;BR /&gt;sendmail  &lt;BR /&gt;&lt;BR /&gt;Should I see a reference to /etc/mail/genericstable as I do for /etc/mail/aliases?  If so, any idea why I'm not seeing it?  Thanks again for any help.</description>
      <pubDate>Mon, 14 Jan 2002 15:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644031#M879151</guid>
      <dc:creator>Jared Hamilton_1</dc:creator>
      <dc:date>2002-01-14T15:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail-one server, 5 domains?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644032#M879152</link>
      <description>Uncomment the generics rulesets in /etc/mail/sendmail.cf:&lt;BR /&gt;&lt;BR /&gt;#Kgenerics dbm /etc/mail/genericstable&lt;BR /&gt;# handle generics database&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;#R&amp;lt; $+ &amp;gt; $+ &amp;lt; $* &amp;gt; @    $: &amp;lt; $(generics $1 $: $) &amp;gt; $2 &amp;lt; $3 &amp;gt;&lt;BR /&gt;#R&amp;lt; &amp;gt; $+ &amp;lt; @ $+ &amp;gt;       $: &amp;lt; $(generics $1 $: $) &amp;gt; $1 &amp;lt; @ $2 &amp;gt;&lt;BR /&gt;&lt;BR /&gt;Stop sendmail.  Start sendmail.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2002 15:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644032#M879152</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2002-01-14T15:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail-one server, 5 domains?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644033#M879153</link>
      <description>Removing the rest of the "generics" related comments in sendmail.cf did the trick.  Thanks for the help!</description>
      <pubDate>Tue, 15 Jan 2002 05:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-one-server-5-domains/m-p/2644033#M879153</guid>
      <dc:creator>Jared Hamilton_1</dc:creator>
      <dc:date>2002-01-15T05:01:13Z</dc:date>
    </item>
  </channel>
</rss>

