<?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 sendmail masquerade outbound help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869088#M563288</link>
    <description>Howdy, I've got a small problem that I can't figure out.&lt;BR /&gt;&lt;BR /&gt;Here's my problem. I accept mail for local user "user1@domain1.com" and remote user "user2@domain2.com". My sendmail.cw has both domain1.com and domain2.com listed so I can accept mail for both, and DM is set to domain1.com in sendmail.cf.&lt;BR /&gt;&lt;BR /&gt;I need to send an outbound message and change the From: address to  user2@domain2.com, but my current config changes user2@domain2.com to user2@domain1.com. Unless I remove domain2.com from sendmail.cw, or st DM to null.&lt;BR /&gt;&lt;BR /&gt;Any thoughts on how to get this to work?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-denver</description>
    <pubDate>Fri, 05 Nov 2004 09:09:20 GMT</pubDate>
    <dc:creator>Denver Osborn</dc:creator>
    <dc:date>2004-11-05T09:09:20Z</dc:date>
    <item>
      <title>sendmail masquerade outbound help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869088#M563288</link>
      <description>Howdy, I've got a small problem that I can't figure out.&lt;BR /&gt;&lt;BR /&gt;Here's my problem. I accept mail for local user "user1@domain1.com" and remote user "user2@domain2.com". My sendmail.cw has both domain1.com and domain2.com listed so I can accept mail for both, and DM is set to domain1.com in sendmail.cf.&lt;BR /&gt;&lt;BR /&gt;I need to send an outbound message and change the From: address to  user2@domain2.com, but my current config changes user2@domain2.com to user2@domain1.com. Unless I remove domain2.com from sendmail.cw, or st DM to null.&lt;BR /&gt;&lt;BR /&gt;Any thoughts on how to get this to work?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-denver</description>
      <pubDate>Fri, 05 Nov 2004 09:09:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869088#M563288</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2004-11-05T09:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail masquerade outbound help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869089#M563289</link>
      <description>Yes.&lt;BR /&gt;&lt;BR /&gt;create the users in /etc/mail/virtusertable and /etc/mail/genericstable&lt;BR /&gt;&lt;BR /&gt;Then use sendmail macros.&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;This file will tell you where the macro file is in the that script.&lt;BR /&gt;&lt;BR /&gt;Here is what you need in there:&lt;BR /&gt;Cwdomain1.com&lt;BR /&gt;Cwdomain2.com&lt;BR /&gt;MASQUERADE_DOMAIN(domain1.com)dnl&lt;BR /&gt;MASQUERADE_DOMAIN(domain2.com)dnl&lt;BR /&gt;&lt;BR /&gt;run the script, building the databases and generating a new sendmail.cf file.&lt;BR /&gt;&lt;BR /&gt;I love this stuff. Let me know if you have troubles.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Nov 2004 09:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869089#M563289</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-05T09:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail masquerade outbound help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869090#M563290</link>
      <description>Hi Denver,&lt;BR /&gt;&lt;BR /&gt;use the -r reply_to_address option with the mailx command,&lt;BR /&gt;&lt;BR /&gt;cat some_file |mailx -s "Some subject" -r user2@domain2.com some_address.com&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Nov 2004 09:46:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869090#M563290</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-05T09:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail masquerade outbound help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869091#M563291</link>
      <description>Hi Denver,&lt;BR /&gt;&lt;BR /&gt;You can also try the userdb database to make this change permanent,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000068402500" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000068402500&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is KBRC00010421.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Nov 2004 10:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869091#M563291</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-05T10:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail masquerade outbound help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869092#M563292</link>
      <description>Thanks for the info SEP! Your info got me looking in the right direction. I appreciate it.&lt;BR /&gt;&lt;BR /&gt;Ended up adding "CNdomain2.com" to the sendmail.cf just above "DMdomain1.com". This took care of it an allowed me to use From: domain2.com w/out it getting changed to domain1.com.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;-denver</description>
      <pubDate>Fri, 05 Nov 2004 11:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-masquerade-outbound-help/m-p/4869092#M563292</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2004-11-05T11:49:29Z</dc:date>
    </item>
  </channel>
</rss>

