<?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: mailx in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447400#M9823</link>
    <description>Include this in /etc/mail/aliases file&lt;BR /&gt; as follows:Use the 'DM' masquerade in /etc/mail/sendmail.cf - eg. DMfoo.com &lt;BR /&gt;and also DS(NTserver)&lt;BR /&gt;Make sure the internet services are running.&lt;BR /&gt;Run Newaliases and /sbin/init.d/sendmail (stop/start) and .forward in the users $HOME</description>
    <pubDate>Sun, 24 Sep 2000 11:30:26 GMT</pubDate>
    <dc:creator>CHRIS_ANORUO</dc:creator>
    <dc:date>2000-09-24T11:30:26Z</dc:date>
    <item>
      <title>mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447396#M9819</link>
      <description>We are attempting to send mail messages to a group alias called pldybatdis.  We have a mail alias set up along with the /usr/local/lib file&lt;BR /&gt;&lt;BR /&gt; /etc/mail/aliases:&lt;BR /&gt;&lt;BR /&gt; # Local aliases&lt;BR /&gt; pldybatdis      : ":include:/usr/local/lib/pldybatdis.list"&lt;BR /&gt;&lt;BR /&gt; /usr/local/lib/pldybatdis.list&lt;BR /&gt;&lt;BR /&gt; kleahy@rgare.com&lt;BR /&gt; 3143787625@mobile.att.net&lt;BR /&gt; 3143787623@mobile.att.net&lt;BR /&gt; lkattengell@rgare.com&lt;BR /&gt; rharrison@rgare.com&lt;BR /&gt; tchrist@rgare.com&lt;BR /&gt; mmccombs@rgare.com&lt;BR /&gt; kheimos@rgare.com&lt;BR /&gt;&lt;BR /&gt; When using the following mailx command we receive an error in /var/adm/syslog/mail.log and user kleahy@rgare.com does not receive the message.&lt;BR /&gt;&lt;BR /&gt; mailx -r kleahy@rgare.com -s TEST-RELAY2 pldybatdis &amp;lt; /tmp/test&lt;BR /&gt;&lt;BR /&gt; /var/adm/syslog/mail.log&lt;BR /&gt;&lt;BR /&gt; Sep 22 13:48:17 rga6 sendmail[8369]: NAA08367: to=gbarklage@rgare.com, delay=00:&lt;BR /&gt; 00:05, xdelay=00:00:05, mailer=smtp, relay=mail.rgare.com. [10.10.10.143], stat=&lt;BR /&gt; Sent (OK)&lt;BR /&gt; Sep 22 13:48:45 rga6 sendmail[8374]: gethostbyaddr(10.10.1.72) failed: 1&lt;BR /&gt; Sep 22 13:48:45 rga6 sendmail[8374]: NAA08374: from=kleahy@rgare.com, size=143,&lt;BR /&gt; class=0, pri=60143, nrcpts=2, msgid=&amp;lt;200009221848.NAA08374@rga6.rgare.com&amp;gt;, rela&lt;BR /&gt; y=root@localhost&lt;BR /&gt;&lt;BR /&gt; Is there any way to allow kleahy@rgare.com recipient to receive the message and also be the return address?&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Sep 2000 18:15:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447396#M9819</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2000-09-22T18:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447397#M9820</link>
      <description>&lt;BR /&gt;To setup your return addres to be whatever you want you need to setup an /etc/mail/userdb file. See the following replies on how to do this;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com:80/cm/QuestionAnswer/1,1150,0xaaf16c96588ad4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com:80/cm/QuestionAnswer/1,1150,0xaaf16c96588ad4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As for your gethost error in syslog, you need to resolve why the ip address listed cant be looked up. ie. if you do an nslookup 10.10.1.72  why doesnt it work ? either on your server or you mail relay server. Either way smtp is trying to contact this address, unsuccessfully. You need to get nslookup working for it.&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Sep 2000 18:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447397#M9820</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-09-22T18:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447398#M9821</link>
      <description>Hi Joe:&lt;BR /&gt;&lt;BR /&gt;A couple of things you might like to fix:&lt;BR /&gt;1. after adding the alias, you should do a &lt;BR /&gt;# newaliases&lt;BR /&gt;2. To fix the gethostbyaddr(10.10.1.72) failure, you might want to do the following.&lt;BR /&gt;a) in your /etc/nsswitch.conf the line should read:&lt;BR /&gt;hosts:     files [NOTFOUND=continue] dns&lt;BR /&gt;b) include the IP address and host name combination (including FQDN) in the /etc/hosts file for your host 10.10.1.72 (unless it is listed in DNS)&lt;BR /&gt;&lt;BR /&gt;3. Make sure that the directory where your alias:include resides is not "world writeable" if it is, move it to the /etc/mail directory (which isn't)  Sendmail is very picky about not allowing world writeable directories to be used to store alias:include&lt;BR /&gt;(if you do remember to edit the /etc/mail/aliases and run newaliases)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Sep 2000 19:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447398#M9821</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-22T19:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447399#M9822</link>
      <description>In addition to the above, in order for a copy of the message to be left for the sender, edit the include file and place a \ (backslash) infront of the address - that tells mailx to leave a copy there...&lt;BR /&gt;so your include file should be:&lt;BR /&gt;&lt;BR /&gt;/usr/local/lib/pldybatdis.list &lt;BR /&gt;&lt;BR /&gt;\kleahy@rgare.com &lt;BR /&gt;3143787625@mobile.att.net &lt;BR /&gt;3143787623@mobile.att.net &lt;BR /&gt;lkattengell@rgare.com &lt;BR /&gt;rharrison@rgare.com &lt;BR /&gt;tchrist@rgare.com &lt;BR /&gt;mmccombs@rgare.com &lt;BR /&gt;kheimos@rgare.com &lt;BR /&gt;&lt;BR /&gt;let's know how it goes.</description>
      <pubDate>Fri, 22 Sep 2000 20:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447399#M9822</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-22T20:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447400#M9823</link>
      <description>Include this in /etc/mail/aliases file&lt;BR /&gt; as follows:Use the 'DM' masquerade in /etc/mail/sendmail.cf - eg. DMfoo.com &lt;BR /&gt;and also DS(NTserver)&lt;BR /&gt;Make sure the internet services are running.&lt;BR /&gt;Run Newaliases and /sbin/init.d/sendmail (stop/start) and .forward in the users $HOME</description>
      <pubDate>Sun, 24 Sep 2000 11:30:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447400#M9823</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-09-24T11:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447401#M9824</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;In the sendmail.cf file uncomment the following line:&lt;BR /&gt;&lt;BR /&gt;#O MeToo&lt;BR /&gt;&lt;BR /&gt;and stop and start sendmail.&lt;BR /&gt;&lt;BR /&gt;Greetz Danny.&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Sep 2000 11:57:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2447401#M9824</guid>
      <dc:creator>Danny Engelbarts</dc:creator>
      <dc:date>2000-09-25T11:57:19Z</dc:date>
    </item>
  </channel>
</rss>

