<?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 does not work from root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160203#M159232</link>
    <description>More specifics would help.  If I were able to talk to you interactively, here's what I'd ask:&lt;BR /&gt;- What command lines have you tried?  &lt;BR /&gt;- What do you mean by "does not work" -- &lt;BR /&gt;  you can't read mail, mail you send bounces&lt;BR /&gt;  back, mail you send goes into a black hole,&lt;BR /&gt;  ...?&lt;BR /&gt;- what is your mail environment?  Do you have&lt;BR /&gt;  a "smart relay/smart host" at your site, &lt;BR /&gt;  etc.&lt;BR /&gt;&lt;BR /&gt;Sorry to bombard you with questions, just &lt;BR /&gt;trying to help.&lt;BR /&gt;&lt;BR /&gt;Mic</description>
    <pubDate>Thu, 08 Jan 2004 23:51:47 GMT</pubDate>
    <dc:creator>Mic V.</dc:creator>
    <dc:date>2004-01-08T23:51:47Z</dc:date>
    <item>
      <title>mailx does not work from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160202#M159231</link>
      <description>Hi There&lt;BR /&gt;&lt;BR /&gt;mailx does work from my own account but not from root.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Nisar</description>
      <pubDate>Thu, 08 Jan 2004 23:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160202#M159231</guid>
      <dc:creator>Nisar Ahmad</dc:creator>
      <dc:date>2004-01-08T23:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: mailx does not work from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160203#M159232</link>
      <description>More specifics would help.  If I were able to talk to you interactively, here's what I'd ask:&lt;BR /&gt;- What command lines have you tried?  &lt;BR /&gt;- What do you mean by "does not work" -- &lt;BR /&gt;  you can't read mail, mail you send bounces&lt;BR /&gt;  back, mail you send goes into a black hole,&lt;BR /&gt;  ...?&lt;BR /&gt;- what is your mail environment?  Do you have&lt;BR /&gt;  a "smart relay/smart host" at your site, &lt;BR /&gt;  etc.&lt;BR /&gt;&lt;BR /&gt;Sorry to bombard you with questions, just &lt;BR /&gt;trying to help.&lt;BR /&gt;&lt;BR /&gt;Mic</description>
      <pubDate>Thu, 08 Jan 2004 23:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160203#M159232</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2004-01-08T23:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: mailx does not work from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160204#M159233</link>
      <description>Hi M&lt;BR /&gt;&lt;BR /&gt;Thanks for the prompt response.&lt;BR /&gt;&lt;BR /&gt;Actually it does not reach to a general email. Yes we have a smtprelay server that is why it is working from my own account.&lt;BR /&gt;&lt;BR /&gt;Nisar&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jan 2004 00:07:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160204#M159233</guid>
      <dc:creator>B Unix</dc:creator>
      <dc:date>2004-01-09T00:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: mailx does not work from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160205#M159234</link>
      <description>So what you're saying is that from the same host, if you log in as you and:&lt;BR /&gt;&lt;BR /&gt;   echo foo | mailx -s from-me myaddr@aol.com&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;   echo foo | mailx -s from-me mylocaladdr&lt;BR /&gt;&lt;BR /&gt;it works, but if you do the same exact thing as root, it doesn't work?&lt;BR /&gt;&lt;BR /&gt;Assuming that what I wrote is accurate, I assume you've tried sending mail to a variety of addresses or examined root's .mailrc/.forward?  &lt;BR /&gt;&lt;BR /&gt;Try sending a mail as root (like you've been doing), then immediately do this:&lt;BR /&gt;&lt;BR /&gt;   tail /var/adm/syslog/mail.log&lt;BR /&gt;&lt;BR /&gt;(or whereever your mail log is).  Assuming it's actually getting sent off the system, it should tell you what happened to it (though it can be a bit cryptic).  Please post your command line and what the log showed, if you don't mind.&lt;BR /&gt;&lt;BR /&gt;Also, look at /var/mail/root (or wherever your spool is) to see if it's bouncing.  &lt;BR /&gt;&lt;BR /&gt;It's a long shot since some mail is working, but you can also try something like:&lt;BR /&gt;&lt;BR /&gt;   /usr/lib/sendmail -bt &lt;BR /&gt;&lt;BR /&gt;   &amp;gt; 3 mylocaladdr&lt;BR /&gt;&lt;BR /&gt;I'm doing this from memory, I may be a little off.  Good luck.&lt;BR /&gt;&lt;BR /&gt;Mic&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jan 2004 00:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160205#M159234</guid>
      <dc:creator>Mic V.</dc:creator>
      <dc:date>2004-01-09T00:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: mailx does not work from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160206#M159235</link>
      <description>&lt;BR /&gt;Review your /etc/sendmail.cf file to see if it has been setup to redirect root's mail, in addition to checking the mail log to see if it is being sent in the first place.&lt;BR /&gt;&lt;BR /&gt;mailq -v -d will tell you if messages are getting hung in the queue.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Fri, 09 Jan 2004 08:42:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160206#M159235</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-01-09T08:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: mailx does not work from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160207#M159236</link>
      <description>diagnostic:&lt;BR /&gt;&lt;BR /&gt;as root&lt;BR /&gt;&lt;BR /&gt;sendmail -v -d8.99 -d38.99 someaddress@somedomain.com&lt;BR /&gt;&lt;BR /&gt;type some text&lt;BR /&gt;&lt;ENTER&gt;&lt;BR /&gt;.&lt;BR /&gt;&lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm thinking there could be a problem in /etc/mail/access or /etc/mail/aliases that's misdirecting the mail.&lt;BR /&gt;&lt;BR /&gt;This diagnostic will help you figure it out.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
      <pubDate>Fri, 09 Jan 2004 08:56:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160207#M159236</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-01-09T08:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: mailx does not work from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160208#M159237</link>
      <description>Nisar,&lt;BR /&gt;&lt;BR /&gt;Check the sendmail.cf file to be sure that the following line is&lt;BR /&gt;commented out:&lt;BR /&gt;&lt;BR /&gt;     # CE root    (insert "#" sign to comment out)&lt;BR /&gt;&lt;BR /&gt;Next, stop/start sendmail, then send a test email from root account.&lt;BR /&gt;&lt;BR /&gt;Let us know how it goes :)&lt;BR /&gt;&lt;BR /&gt;Geno</description>
      <pubDate>Fri, 09 Jan 2004 10:38:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160208#M159237</guid>
      <dc:creator>Geno Church_1</dc:creator>
      <dc:date>2004-01-09T10:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: mailx does not work from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160209#M159238</link>
      <description>Nisar,&lt;BR /&gt;&lt;BR /&gt;Also in this file, make sure there is not more than one of those entries. All instances need to be commented out.&lt;BR /&gt;&lt;BR /&gt;Geno</description>
      <pubDate>Fri, 09 Jan 2004 10:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-does-not-work-from-root/m-p/3160209#M159238</guid>
      <dc:creator>Geno Church_1</dc:creator>
      <dc:date>2004-01-09T10:41:57Z</dc:date>
    </item>
  </channel>
</rss>

