<?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 Question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484781#M363022</link>
    <description>The one I am working on currently is not for root. I will be dealing with those shortly and I believe they have a default I need to overide. Thanks.</description>
    <pubDate>Mon, 24 Aug 2009 13:42:28 GMT</pubDate>
    <dc:creator>Pete G</dc:creator>
    <dc:date>2009-08-24T13:42:28Z</dc:date>
    <item>
      <title>Sendmail Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484777#M363018</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I am trying to make a system account generated email seem to come from a DL in outlook. For example, the email sends as bot@FQDN and I am trying to make it send as list.something@company.com. The company.com part is easy. I even set up userdb to alias bot to list.something. The problem is even in the header, if you follow the submission, you can still see bot@company.com. When I send send using sendmail -f list.something@company.com it works flawlessly. So my question is really what am I doing wrong and how can I make what I do with the -f switch in sendmail permanent on the host to ensure the mail is sent as I want it?&lt;BR /&gt;&lt;BR /&gt;Any help, as always, is greatly appreciated. The hosts are mostly HP-UX and some Solaris 10.</description>
      <pubDate>Mon, 24 Aug 2009 13:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484777#M363018</guid>
      <dc:creator>Pete G</dc:creator>
      <dc:date>2009-08-24T13:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484778#M363019</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This is merely a configuration and m4 compile of the sendmail.cf file. The documentation for this is on &lt;A href="http://www.sendmail.org" target="_blank"&gt;http://www.sendmail.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Search for masquerade and such.&lt;BR /&gt;&lt;BR /&gt;sendmail works in a little bit of a non-standard way with HP-UX.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/buildmail.hpux.text" target="_blank"&gt;http://www.hpux.ws/buildmail.hpux.text&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That is a good script to show how to compile your changes. &lt;BR /&gt;&lt;BR /&gt;Making this work is pretty simple.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 24 Aug 2009 13:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484778#M363019</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-08-24T13:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484779#M363020</link>
      <description>I neglected to mention i did an m4 rebuild so that I could use the generics table. I tried with userdb and generics. Put the new sendmail.cf in place, stop/started but still no workie. Thanks.</description>
      <pubDate>Mon, 24 Aug 2009 13:33:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484779#M363020</guid>
      <dc:creator>Pete G</dc:creator>
      <dc:date>2009-08-24T13:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484780#M363021</link>
      <description>When you say system account generated email, does this mean root or some other non-administrative account ? If you are dealing with root generated messages, did you check the CE section of the sendmail.cf ? Is the account you are sending the mail from, located in this section ? If so, it can explain why the masquerading is not working.</description>
      <pubDate>Mon, 24 Aug 2009 13:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484780#M363021</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-08-24T13:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484781#M363022</link>
      <description>The one I am working on currently is not for root. I will be dealing with those shortly and I believe they have a default I need to overide. Thanks.</description>
      <pubDate>Mon, 24 Aug 2009 13:42:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484781#M363022</guid>
      <dc:creator>Pete G</dc:creator>
      <dc:date>2009-08-24T13:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484782#M363023</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;The problem with masquerading is that it will masquerade *everything*.  If that's what you want, then have at it.&lt;BR /&gt;&lt;BR /&gt;The generics table is used to rewrite the sender's address.  The format is pretty simple:&lt;BR /&gt;&lt;BR /&gt;# cat genericstable&lt;BR /&gt;root    rootusr3db16@myco.com&lt;BR /&gt;&lt;BR /&gt;Any email coming off that system as root will be rewritten to rootusr3db16@myco.com&lt;BR /&gt;&lt;BR /&gt;(Don't ask; it's a long story on why I have to rewrite root's email...)&lt;BR /&gt;&lt;BR /&gt;Run "grep generic /etc/mail/sendmail.cf"; if you see &lt;BR /&gt;&lt;BR /&gt;Kgenerics hash /etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;sendmail is already configured to use the generics table.  If not, you will have to generate a new sendmail config file using the m4 command&lt;BR /&gt;&lt;BR /&gt;FEATURE(`genericstable')dnl&lt;BR /&gt;&lt;BR /&gt;Once configured, edit the generics table as described above, then execute:&lt;BR /&gt;&lt;BR /&gt;makemap hash genericstabe &amp;lt; genericstable&lt;BR /&gt;&lt;BR /&gt;while in the /etc/mail directory.  &lt;BR /&gt;&lt;BR /&gt;You shouldn't have to restart sendmail.  Once done, using the example above:&lt;BR /&gt;&lt;BR /&gt;sendmail -v oleary@myco.com &amp;lt;&amp;lt; eof&lt;BR /&gt;Subject: testing&lt;BR /&gt;eof&lt;BR /&gt;&lt;BR /&gt;[[ connect string snipped ]]&lt;BR /&gt;&lt;BR /&gt;250 2.0.0 Verbose mode&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; MAIL From:&lt;ROOTUSR3DB16&gt; SIZE=17&lt;BR /&gt;250 2.1.0 &lt;ROOTUSR3DB16&gt;... Sender ok&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RCPT To:&lt;OLEARY&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; DATA&lt;BR /&gt;250 2.1.5 &lt;OLEARY&gt;... Recipient ok&lt;BR /&gt;354 Enter mail, end with "." on a line by itself&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; .&lt;BR /&gt;&lt;BR /&gt;And you should be set.&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug O'Leary&lt;BR /&gt;&lt;/OLEARY&gt;&lt;/OLEARY&gt;&lt;/ROOTUSR3DB16&gt;&lt;/ROOTUSR3DB16&gt;</description>
      <pubDate>Mon, 24 Aug 2009 13:43:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4484782#M363023</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2009-08-24T13:43:13Z</dc:date>
    </item>
  </channel>
</rss>

