<?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: mailing from hpux or linux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961608#M757233</link>
    <description>Hi Sanwin,&lt;BR /&gt;&lt;BR /&gt;Under HP-UX, first set the "smart" relay host macro in /etc/sendmail.cf to point to your mail gateway ('DSyourgateway.yourdomain.com').&lt;BR /&gt;&lt;BR /&gt;Then restart the sendmail daemon to force it to re-read /etc/sendmail.cf:&lt;BR /&gt;$ /sbin/sendmail stop &amp;amp;&amp;amp; /sbin/sendmail start&lt;BR /&gt;&lt;BR /&gt;Then send a test message:&lt;BR /&gt;$ echo 'body' | mailx -m -s 'subject' your@email.addr&lt;BR /&gt;&lt;BR /&gt;Linux is similar.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
    <pubDate>Wed, 14 Mar 2007 07:49:05 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2007-03-14T07:49:05Z</dc:date>
    <item>
      <title>mailing from hpux or linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961605#M757227</link>
      <description>Hi,&lt;BR /&gt;    Bascially how to send mails from hpux or linux servers?&lt;BR /&gt;I need to execute certain scripts and sent their results as mails.&lt;BR /&gt;could anyone help?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks and regards,&lt;BR /&gt;sanwin</description>
      <pubDate>Wed, 14 Mar 2007 07:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961605#M757227</guid>
      <dc:creator>sanwin</dc:creator>
      <dc:date>2007-03-14T07:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: mailing from hpux or linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961606#M757229</link>
      <description>Hey&lt;BR /&gt;&lt;BR /&gt;man mailx&lt;BR /&gt;or&lt;BR /&gt;man sendmail&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 14 Mar 2007 07:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961606#M757229</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2007-03-14T07:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: mailing from hpux or linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961607#M757231</link>
      <description>Hi Sanwin:&lt;BR /&gt;&lt;BR /&gt;# mailx -s "This is a subject!" sanwin &amp;lt; /dev/null&lt;BR /&gt;&lt;BR /&gt;...would mail the 'sanwin' user with a subject line "This is a subject" and an empty mail body.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 14 Mar 2007 07:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961607#M757231</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-03-14T07:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: mailing from hpux or linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961608#M757233</link>
      <description>Hi Sanwin,&lt;BR /&gt;&lt;BR /&gt;Under HP-UX, first set the "smart" relay host macro in /etc/sendmail.cf to point to your mail gateway ('DSyourgateway.yourdomain.com').&lt;BR /&gt;&lt;BR /&gt;Then restart the sendmail daemon to force it to re-read /etc/sendmail.cf:&lt;BR /&gt;$ /sbin/sendmail stop &amp;amp;&amp;amp; /sbin/sendmail start&lt;BR /&gt;&lt;BR /&gt;Then send a test message:&lt;BR /&gt;$ echo 'body' | mailx -m -s 'subject' your@email.addr&lt;BR /&gt;&lt;BR /&gt;Linux is similar.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Wed, 14 Mar 2007 07:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961608#M757233</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-03-14T07:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: mailing from hpux or linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961609#M757235</link>
      <description>Sanwin -&lt;BR /&gt;Attached is an inhouse doc we use foe diferrent types of mail requests.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-dl</description>
      <pubDate>Wed, 14 Mar 2007 11:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961609#M757235</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2007-03-14T11:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: mailing from hpux or linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961610#M757237</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here is a small example script....  &lt;BR /&gt;&lt;BR /&gt;This will send you disk usage of a group of servers o/p to your email ID .&lt;BR /&gt;&lt;BR /&gt;=====================================&lt;BR /&gt;#Server Disk usage report&lt;BR /&gt;output=/tmp/diskbdf&lt;BR /&gt;echo "" &amp;gt;$output&lt;BR /&gt;for i in `cat serverlist` # serverlist will contail hostnames of servers&lt;BR /&gt;do&lt;BR /&gt;echo "                                               "&amp;gt;&amp;gt;$output&lt;BR /&gt;echo "*************************************************************"&amp;gt;&amp;gt;$output&lt;BR /&gt;echo "Disk Usage Report OF SERVER "$i" on `date`"&amp;gt;&amp;gt;$output&lt;BR /&gt;echo "Disk Usage REPORT OF SERVER "$i" on `date`"&lt;BR /&gt;echo "*************************************************************"&amp;gt;&amp;gt;$output&lt;BR /&gt;ssh -q $i bdf &amp;gt;&amp;gt;$output&lt;BR /&gt;echo "                                               "&amp;gt;&amp;gt;$output&lt;BR /&gt;echo "                                               "&amp;gt;&amp;gt;$output&lt;BR /&gt;echo "**************END OF REPORT "$i"**************"&amp;gt;&amp;gt;$output&lt;BR /&gt;echo "                                               "&amp;gt;&amp;gt;$output&lt;BR /&gt;echo "                                               "&amp;gt;&amp;gt;$output&lt;BR /&gt;echo "=================================================================="&amp;gt;&amp;gt;$output&lt;BR /&gt;done&lt;BR /&gt;mailx -s "Disk Usage Report of China Unix servers" you@yourdomain.com&amp;lt; $output&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Mar 2007 10:00:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961610#M757237</guid>
      <dc:creator>Abhinesh AV</dc:creator>
      <dc:date>2007-03-17T10:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: mailing from hpux or linux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961611#M757238</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Mail depends on two basic areas of functionality.&lt;BR /&gt;&lt;BR /&gt;1) Host name resolution. If you can resolve Internet hostnames yourself and port 25 is open on your firewall, your system will send mail on its default configuration. For sendmail with attachments, see this script &lt;A href="http://www.hpux.ws/mailfile2" target="_blank"&gt;http://www.hpux.ws/mailfile2&lt;/A&gt;&lt;BR /&gt;2) A mail relay server. DShostnameofrelayserver in sendmail.cf. The accepting server must be configured to accept mail, it will not do so by default.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 17 Mar 2007 13:45:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailing-from-hpux-or-linux/m-p/3961611#M757238</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-03-17T13:45:58Z</dc:date>
    </item>
  </channel>
</rss>

