<?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 Mail sent as daemon needs to be as someone else in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-sent-as-daemon-needs-to-be-as-someone-else/m-p/3113907#M897102</link>
    <description>Hello -&lt;BR /&gt;&lt;BR /&gt;I have a ksh script running as daemon which sends out email.  I'd like the email to be sent as someone else, like appadmin.  Can this be done?&lt;BR /&gt;&lt;BR /&gt;(The email is sent as daemon@blah.blah.com.  I'd like it to be appadmin@blah.blah.com.)&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;mike</description>
    <pubDate>Fri, 07 Nov 2003 20:10:42 GMT</pubDate>
    <dc:creator>Michael Resnick</dc:creator>
    <dc:date>2003-11-07T20:10:42Z</dc:date>
    <item>
      <title>Mail sent as daemon needs to be as someone else</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-sent-as-daemon-needs-to-be-as-someone-else/m-p/3113907#M897102</link>
      <description>Hello -&lt;BR /&gt;&lt;BR /&gt;I have a ksh script running as daemon which sends out email.  I'd like the email to be sent as someone else, like appadmin.  Can this be done?&lt;BR /&gt;&lt;BR /&gt;(The email is sent as daemon@blah.blah.com.  I'd like it to be appadmin@blah.blah.com.)&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;mike</description>
      <pubDate>Fri, 07 Nov 2003 20:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-sent-as-daemon-needs-to-be-as-someone-else/m-p/3113907#M897102</guid>
      <dc:creator>Michael Resnick</dc:creator>
      <dc:date>2003-11-07T20:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mail sent as daemon needs to be as someone else</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-sent-as-daemon-needs-to-be-as-someone-else/m-p/3113908#M897103</link>
      <description>Yes you can do that, it is possible.&lt;BR /&gt;If its sendmail use -f option (from address) and if you are using mailx then use -r option&lt;BR /&gt;have a look at the man pages of both the commands.</description>
      <pubDate>Fri, 07 Nov 2003 20:30:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-sent-as-daemon-needs-to-be-as-someone-else/m-p/3113908#M897103</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-11-07T20:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mail sent as daemon needs to be as someone else</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-sent-as-daemon-needs-to-be-as-someone-else/m-p/3113909#M897104</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;here are the option to do this.&lt;BR /&gt;&lt;BR /&gt;if you are using sendmail&lt;BR /&gt;&lt;BR /&gt;sendmail -f appadmin@blah.com userid@domain.com&lt;BR /&gt;&lt;BR /&gt;if you are using mailx use the -r option.&lt;BR /&gt;&lt;BR /&gt;or what you can do is&lt;BR /&gt;&lt;BR /&gt;mailx -s "mail from appadmin" userid@domain.com&lt;BR /&gt;&lt;BR /&gt;You will have a subject line in your mail "mail from appadmin"&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;Pratyush</description>
      <pubDate>Sun, 09 Nov 2003 10:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-sent-as-daemon-needs-to-be-as-someone-else/m-p/3113909#M897104</guid>
      <dc:creator>Pratyush Paul_1</dc:creator>
      <dc:date>2003-11-09T10:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mail sent as daemon needs to be as someone else</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mail-sent-as-daemon-needs-to-be-as-someone-else/m-p/3113910#M897105</link>
      <description>Just as another option, I'm attaching a sendmail script that can do things like attachments(this functionality is easily commented out).&lt;BR /&gt;&lt;BR /&gt;It handles to and from address quite nicely.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 09 Nov 2003 16:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mail-sent-as-daemon-needs-to-be-as-someone-else/m-p/3113910#M897105</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-09T16:32:16Z</dc:date>
    </item>
  </channel>
</rss>

