<?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: Can't mail from root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202498#M793003</link>
    <description>Not sure, but you may also need to modify your /etc/mail/sendmail.cf file.&lt;BR /&gt;&lt;BR /&gt;By default, the CE class macro is set to expose mail as coming from root, even if masquerading is set.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;# class E: names that should be exposed as from this host, even if we masquerade&lt;BR /&gt;# class L: names that should be delivered locally, even if we have a relay&lt;BR /&gt;# class M: domains that should be converted to $M&lt;BR /&gt;#CL root&lt;BR /&gt;CE root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Modify your sendmail.cf file so that the CE macro is blank, and try using the previously suggested methods again....</description>
    <pubDate>Wed, 25 Feb 2004 18:25:28 GMT</pubDate>
    <dc:creator>James A. Donovan</dc:creator>
    <dc:date>2004-02-25T18:25:28Z</dc:date>
    <item>
      <title>Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202492#M792997</link>
      <description>My client needs to send email outside of their own domain. However, they are blocking all mail from any user named root from going outside the DNS domain. When I do a mailx, it is from root@hostname.FQDN Is there any way to change who is sending the email? If my email was being sent by hostname@hostname.FQDN, I am told it would be allowed to pass through, and be delivered to the outside.</description>
      <pubDate>Wed, 25 Feb 2004 17:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202492#M792997</guid>
      <dc:creator>Joe Short</dc:creator>
      <dc:date>2004-02-25T17:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202493#M792998</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't know if I understood your problem. You can override the username from which it is coming from as someoneelse like below.&lt;BR /&gt;&lt;BR /&gt;sendmail -Fsomeone -fsomename@somedomain.com toadress@todomain.com &amp;lt; your_file&lt;BR /&gt;&lt;BR /&gt;Look at -f option of sendmail. You will need to add the user (I guess root in this case) as a trusted user in sendmail.cf file.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 25 Feb 2004 17:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202493#M792998</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-25T17:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202494#M792999</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Create the user that is allowed to send mail outside of the domain then send as that user&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 25 Feb 2004 17:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202494#M792999</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2004-02-25T17:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202495#M793000</link>
      <description>I need to set some sort of variable so that outgoing mail is from any user except root. Unfortunately neither of the solutions above worked.</description>
      <pubDate>Wed, 25 Feb 2004 17:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202495#M793000</guid>
      <dc:creator>Joe Short</dc:creator>
      <dc:date>2004-02-25T17:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202496#M793001</link>
      <description>Try the '-r from@address.com' option to mailx.&lt;BR /&gt;&lt;BR /&gt;The syntax would be:&lt;BR /&gt;&lt;BR /&gt;# mailx -s "subject" -r someone@somwhere.com toaddress@somewhereelse.com</description>
      <pubDate>Wed, 25 Feb 2004 17:41:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202496#M793001</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-02-25T17:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202497#M793002</link>
      <description>Well, then I still have to understand your problem.&lt;BR /&gt;&lt;BR /&gt;As root, send the mail like&lt;BR /&gt;&lt;BR /&gt;#sendmail -F&lt;HOSTNAME&gt; -fhostname@hostname.FQDN &amp;lt; your_file&lt;BR /&gt;&lt;BR /&gt;Your_file may have the contents like this&lt;BR /&gt;&lt;BR /&gt;From: root of &lt;HOSTNAME&gt;&lt;BR /&gt;Subject: This is some message&lt;BR /&gt;&lt;BR /&gt;Bla bla bla&lt;BR /&gt;&lt;BR /&gt;This does go out like hostname@hostname.FQDN as required by you. By default root is a trusted user for sendmail. So, it should work straight without any changes.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Wed, 25 Feb 2004 17:46:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202497#M793002</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-25T17:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202498#M793003</link>
      <description>Not sure, but you may also need to modify your /etc/mail/sendmail.cf file.&lt;BR /&gt;&lt;BR /&gt;By default, the CE class macro is set to expose mail as coming from root, even if masquerading is set.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;# class E: names that should be exposed as from this host, even if we masquerade&lt;BR /&gt;# class L: names that should be delivered locally, even if we have a relay&lt;BR /&gt;# class M: domains that should be converted to $M&lt;BR /&gt;#CL root&lt;BR /&gt;CE root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Modify your sendmail.cf file so that the CE macro is blank, and try using the previously suggested methods again....</description>
      <pubDate>Wed, 25 Feb 2004 18:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202498#M793003</guid>
      <dc:creator>James A. Donovan</dc:creator>
      <dc:date>2004-02-25T18:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202499#M793004</link>
      <description>After further investigation, this domain must be filtering mail from localhost. No matter what user send email outside of the local DNS domain, it gets returned top the root mail on the system. The one common situation is that they are all from user@localhost.</description>
      <pubDate>Thu, 26 Feb 2004 14:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202499#M793004</guid>
      <dc:creator>Joe Short</dc:creator>
      <dc:date>2004-02-26T14:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202500#M793005</link>
      <description>You are able to send mail to internal accounts within your domain? So mail is going out the UNIX system to a mail-relay?&lt;BR /&gt;&lt;BR /&gt;Then try putting the outside domain-name in the /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;Just a problem we had in the past when trying to send outside our own domain. Our internal DNS did not resolve external domanin. Sendmail likes to resolve a domain before sending it to the mail-relay. By putting the outside domain in /etc/hosts (even a fake IP will do) we got the mail send out in the WWW.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Peter Geluk</description>
      <pubDate>Thu, 26 Feb 2004 15:39:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202500#M793005</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-02-26T15:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202501#M793006</link>
      <description>You can use /etc/mail/aliases to make root emails appear to come from another user&lt;BR /&gt;&lt;BR /&gt;root: someone@yourdomain.net&lt;BR /&gt;&lt;BR /&gt;restart sendmail then you're done.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 26 Feb 2004 15:46:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202501#M793006</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-26T15:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't mail from root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202502#M793007</link>
      <description>Finally gave up on this. It is most likely some crazy aspect of the client's network, and multiple DNS domains, etc etc.&lt;BR /&gt;What we did was set up a  mail account in the internal email system, when an email comes in, it is then forwarded out to the outside email address. &lt;BR /&gt;Not what I would have liked, but time is an issue, and we needed to get something working.</description>
      <pubDate>Tue, 02 Mar 2004 15:14:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-mail-from-root/m-p/3202502#M793007</guid>
      <dc:creator>Joe Short</dc:creator>
      <dc:date>2004-03-02T15:14:41Z</dc:date>
    </item>
  </channel>
</rss>

