<?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: sending mail message to root from a script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436982#M5523</link>
    <description>take your pick:&lt;BR /&gt;&lt;BR /&gt;echo " your message in here ....." | mail root&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;some_command | mail root&lt;BR /&gt;or &lt;BR /&gt;cat - &amp;lt;&amp;lt; EOM | mail root&lt;BR /&gt;This &lt;BR /&gt;that&lt;BR /&gt;and the other line&lt;BR /&gt;to &lt;BR /&gt;root&lt;BR /&gt;EOM&lt;BR /&gt;&lt;BR /&gt;etc.</description>
    <pubDate>Wed, 16 Aug 2000 14:48:45 GMT</pubDate>
    <dc:creator>Kofi ARTHIABAH</dc:creator>
    <dc:date>2000-08-16T14:48:45Z</dc:date>
    <item>
      <title>sending mail message to root from a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436981#M5522</link>
      <description>Within a shell script, how do I send a mail message to root?  Thanks.</description>
      <pubDate>Wed, 16 Aug 2000 14:44:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436981#M5522</guid>
      <dc:creator>Ed Hon</dc:creator>
      <dc:date>2000-08-16T14:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail message to root from a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436982#M5523</link>
      <description>take your pick:&lt;BR /&gt;&lt;BR /&gt;echo " your message in here ....." | mail root&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;some_command | mail root&lt;BR /&gt;or &lt;BR /&gt;cat - &amp;lt;&amp;lt; EOM | mail root&lt;BR /&gt;This &lt;BR /&gt;that&lt;BR /&gt;and the other line&lt;BR /&gt;to &lt;BR /&gt;root&lt;BR /&gt;EOM&lt;BR /&gt;&lt;BR /&gt;etc.</description>
      <pubDate>Wed, 16 Aug 2000 14:48:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436982#M5523</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-08-16T14:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail message to root from a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436983#M5524</link>
      <description>The easiest way: as from command line:&lt;BR /&gt;mailx -s subject root@boxname.domaniename &amp;lt; message/or/filename</description>
      <pubDate>Wed, 16 Aug 2000 14:51:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436983#M5524</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-16T14:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail message to root from a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436984#M5525</link>
      <description>Ed:&lt;BR /&gt;&lt;BR /&gt;...and if you would like to foward other account's mail (such as generated during cron tasks) to root, create /.forward with the list of accounts (one-per-line) that should forward their mail to root.&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Aug 2000 14:51:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436984#M5525</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-16T14:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: sending mail message to root from a script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436985#M5526</link>
      <description>You might also want to use aliases (another option to the /.forward file).&lt;BR /&gt;In this way, mail that is sent to root will be aliased to your account. &lt;BR /&gt;&lt;BR /&gt;As opposed to checking the root mail on multiple servers, all servers send the root mail to your mailbox.</description>
      <pubDate>Wed, 16 Aug 2000 15:01:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-mail-message-to-root-from-a-script/m-p/2436985#M5526</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-16T15:01:24Z</dc:date>
    </item>
  </channel>
</rss>

