<?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 Masquerading problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217839#M87991</link>
    <description>Thanks everyone. &lt;BR /&gt;&lt;BR /&gt;By copying a working sendmail.cf file from another host, it seems working now.&lt;BR /&gt;&lt;BR /&gt;I will compare the different of both sendmail.cf file to find out the different. &lt;BR /&gt;&lt;BR /&gt;BTW, is there a easy understand book for sendmail that will solve commonly configuration issues?</description>
    <pubDate>Mon, 15 Mar 2004 01:38:46 GMT</pubDate>
    <dc:creator>yc_2</dc:creator>
    <dc:date>2004-03-15T01:38:46Z</dc:date>
    <item>
      <title>Sendmail Masquerading problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217835#M87987</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Mail send out from unix box, the From field is &lt;SENDER&gt;@&lt;HOSTNAME&gt;.&lt;DOMAIN&gt;&lt;BR /&gt;&lt;BR /&gt;To get rid off the &lt;HOSTNAME&gt; part, I modified sendmail.cf in HP-UX with the following:&lt;BR /&gt; :&lt;BR /&gt;DM&lt;DOMAIN&gt;&lt;BR /&gt; :&lt;BR /&gt;Then I restart sendmail.&lt;BR /&gt;&lt;BR /&gt;The recipient mail of the From field stated as &lt;SENDER&gt;@&lt;DOMAIN&gt;. This is what I expected. &lt;BR /&gt;&lt;BR /&gt;In the HP-UX server, the system stating the folloiwng using sendmail -v command:&lt;BR /&gt; :&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; MAIL From:&lt;SEND&gt;@&lt;HOSTNAME&gt;.&lt;DOMAIN&gt;&lt;BR /&gt; :&lt;BR /&gt;&lt;BR /&gt;Why is it so? It is still sending out the mail with the &lt;HOSTNAME&gt; part.&lt;BR /&gt;&lt;BR /&gt;How to get rid off the &lt;HOSTNAME&gt; part from the HP-UX server when the mail is sent out? It is important because the bounce back mail seems using the &lt;SENDER&gt;@&lt;HOSTNAME&gt;.&lt;DOMAIN&gt; which the HP-UX server is not configured to recv mail.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;YC&lt;/DOMAIN&gt;&lt;/HOSTNAME&gt;&lt;/SENDER&gt;&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;&lt;/DOMAIN&gt;&lt;/HOSTNAME&gt;&lt;/SEND&gt;&lt;/DOMAIN&gt;&lt;/SENDER&gt;&lt;/DOMAIN&gt;&lt;/HOSTNAME&gt;&lt;/DOMAIN&gt;&lt;/HOSTNAME&gt;&lt;/SENDER&gt;</description>
      <pubDate>Fri, 12 Mar 2004 21:49:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217835#M87987</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2004-03-12T21:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Masquerading problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217836#M87988</link>
      <description>Try using a 'Dj&lt;DOMAIN&gt;' line in conjunction with the 'DM&lt;DOMAIN&gt;'.&lt;/DOMAIN&gt;&lt;/DOMAIN&gt;</description>
      <pubDate>Sat, 13 Mar 2004 19:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217836#M87988</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-03-13T19:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Masquerading problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217837#M87989</link>
      <description>If you are trying to run more than one domain on one server, the Dj directive will not do the trick.&lt;BR /&gt;&lt;BR /&gt;If you are only running one domain the prior post is a solution, 10 point rabbit in my opinion.&lt;BR /&gt;&lt;BR /&gt;Proper domain setup requires a hostname to be properly setup.&lt;BR /&gt;&lt;BR /&gt;Say the server is server1&lt;BR /&gt;&lt;BR /&gt;Change it to server1.company.net&lt;BR /&gt;&lt;BR /&gt;in /etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;If the last two sections exceed 8 characters then the only way to make this work right is to provide DNS records on a DSN server that create the servers fully qualified domain name to be server.company.net&lt;BR /&gt;&lt;BR /&gt;Now if you want multiple domains, you need additional configuration files.&lt;BR /&gt;&lt;BR /&gt;/etc/mail/virtusertable&lt;BR /&gt;/etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;These two files let you simulate subdomains for inbound and outbound mail.&lt;BR /&gt;&lt;BR /&gt;If this is what you wish to accomplish I've got a complete guide to this kind of setup. If not, I've typed enough, I'll check back on the thread. If I don't email me, my email is in Dan's issues thread.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 13 Mar 2004 22:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217837#M87989</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-13T22:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Masquerading problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217838#M87990</link>
      <description>Don't test as root user, as root, by default, does not masquerade.&lt;BR /&gt;&lt;BR /&gt;Berlene</description>
      <pubDate>Sun, 14 Mar 2004 08:39:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217838#M87990</guid>
      <dc:creator>Berlene Herren</dc:creator>
      <dc:date>2004-03-14T08:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Masquerading problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217839#M87991</link>
      <description>Thanks everyone. &lt;BR /&gt;&lt;BR /&gt;By copying a working sendmail.cf file from another host, it seems working now.&lt;BR /&gt;&lt;BR /&gt;I will compare the different of both sendmail.cf file to find out the different. &lt;BR /&gt;&lt;BR /&gt;BTW, is there a easy understand book for sendmail that will solve commonly configuration issues?</description>
      <pubDate>Mon, 15 Mar 2004 01:38:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217839#M87991</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2004-03-15T01:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Masquerading problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217840#M87992</link>
      <description>I suggest you to work with sendmail.mc, not .cf  file.&lt;BR /&gt;&lt;BR /&gt;Books:&lt;BR /&gt;&lt;BR /&gt;- Red Hat "RHL Customization Manual" is good for starting&lt;BR /&gt;&lt;BR /&gt;- HOWTOs&lt;BR /&gt;- "Senamail for Linux" [&lt;A href="http://www.amazon.com/exec/obidos/tg/detail/-/0672318342/103-9536108-1915822?v=glance]" target="_blank"&gt;http://www.amazon.com/exec/obidos/tg/detail/-/0672318342/103-9536108-1915822?v=glance]&lt;/A&gt;&lt;BR /&gt;- there is *classic" O'Reily Sendmail book, but it's too fat...</description>
      <pubDate>Mon, 15 Mar 2004 03:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217840#M87992</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2004-03-15T03:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Masquerading problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217841#M87993</link>
      <description>YC, you may want to look at sendmail Cookbook, &lt;BR /&gt;&lt;BR /&gt;By Craig Hunt&lt;BR /&gt;December 2003 &lt;BR /&gt;Series: Cookbooks &lt;BR /&gt;ISBN: 0-596-00471-0&lt;BR /&gt;408 pages, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.bookpool.com/.x/tk7rrmz1nn/sm/0596004710" target="_blank"&gt;http://www.bookpool.com/.x/tk7rrmz1nn/sm/0596004710&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;"The sendmail Cookbook provides step-by-step solutions for the administrator who need to solve configuration problems fast. Say you need to configure sendmail to relay mail for your clients without creating an open relay that will be abused by spammers. A recipe in the Cookbook shows you how to do just that. No more wading through pages of dense documentation and tutorials and creating your own custom solution--just go directly to the recipe that addresses your specific problem. &lt;BR /&gt;&lt;BR /&gt;Each recipe in the sendmail Cookbook outlines a configuration problem, presents the configuration code that solves that problem, and then explains the code in detail. The discussion of the code is critical because it provides the insight you need to tweak the code for your own circumstances. "&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Berlene</description>
      <pubDate>Mon, 15 Mar 2004 05:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-masquerading-problem/m-p/3217841#M87993</guid>
      <dc:creator>Berlene Herren</dc:creator>
      <dc:date>2004-03-15T05:42:03Z</dc:date>
    </item>
  </channel>
</rss>

