<?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: EMS on HP-UX 11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508806#M894252</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Using ~/.forward, a user can put a file with the name .forward in his home directory.  If this file exists, sendmail redirects mail for that user to the list of recipients in the .forward file. Programs and files are valid recipients eg. in your ~/.forward&lt;BR /&gt;&lt;BR /&gt;abc@company.com&lt;BR /&gt;/var/tmp/mail.log&lt;BR /&gt;|/usr/local/bin/pagescript&lt;BR /&gt;&lt;BR /&gt;You can pipe your mails to the pagescript for processing and subsequently alerting via paging. man sendmail for further details.&lt;BR /&gt;&lt;BR /&gt;As for elm, you need to use ~/.elm/filter-rules eg.&lt;BR /&gt;&lt;BR /&gt;if (to = BUGTRAQ@NETSPACE.ORG) then save ~/mail/bugtraq&lt;BR /&gt;if (from = "root") then execute /home/tracker/pagescript&lt;BR /&gt;&lt;BR /&gt;If you have installed elm from the source tarball, for further information, you can look at /usr/local/doc/elm/Filter.guide (ascii version) or /usr/local/doc/elm/Filter.ps (postscript version).&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
    <pubDate>Sat, 24 Mar 2001 23:55:38 GMT</pubDate>
    <dc:creator>Steven Sim Kok Leong</dc:creator>
    <dc:date>2001-03-24T23:55:38Z</dc:date>
    <item>
      <title>EMS on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508803#M894249</link>
      <description>Hello everybody,&lt;BR /&gt;Is there any way to 'customize' the mails send by EMS?&lt;BR /&gt;I configure EMS to send an e-mail to my pager when the severity &amp;gt;= MAJOR WARNING, but my pager only accepts very short messages (250bytes) and I can't see what was the severity. Of course, I have a full copy of the message on my regular e-mail account, but I'd like to be able to tell how critical the message is without having to login.&lt;BR /&gt;TIA,&lt;BR /&gt;Luis</description>
      <pubDate>Thu, 22 Mar 2001 22:08:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508803#M894249</guid>
      <dc:creator>thewho?</dc:creator>
      <dc:date>2001-03-22T22:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: EMS on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508804#M894250</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One way would be go get EMS send the emails to a specific local account. In your local mailbox, use mail filtering mechanisms (such as elm filters or simply the .forward file) to pipe your any new EMS mails to a script which trims the new mail and pipe it to your paging software.&lt;BR /&gt;&lt;BR /&gt;Another way is to make use of /var/adm/syslog/syslog.log. Use a script to check for new EMS entries, grep for errors and pipe it to your paging software.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Fri, 23 Mar 2001 03:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508804#M894250</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-03-23T03:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: EMS on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508805#M894251</link>
      <description>Thanks for the reply Steven,&lt;BR /&gt;I suspected those were my choices, but I didn't know if setting 'rules' on my unix mailbox was possible. I'll read the elm man pages to see if they show me how to run a script when a message arrives.&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 23 Mar 2001 22:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508805#M894251</guid>
      <dc:creator>thewho?</dc:creator>
      <dc:date>2001-03-23T22:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: EMS on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508806#M894252</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Using ~/.forward, a user can put a file with the name .forward in his home directory.  If this file exists, sendmail redirects mail for that user to the list of recipients in the .forward file. Programs and files are valid recipients eg. in your ~/.forward&lt;BR /&gt;&lt;BR /&gt;abc@company.com&lt;BR /&gt;/var/tmp/mail.log&lt;BR /&gt;|/usr/local/bin/pagescript&lt;BR /&gt;&lt;BR /&gt;You can pipe your mails to the pagescript for processing and subsequently alerting via paging. man sendmail for further details.&lt;BR /&gt;&lt;BR /&gt;As for elm, you need to use ~/.elm/filter-rules eg.&lt;BR /&gt;&lt;BR /&gt;if (to = BUGTRAQ@NETSPACE.ORG) then save ~/mail/bugtraq&lt;BR /&gt;if (from = "root") then execute /home/tracker/pagescript&lt;BR /&gt;&lt;BR /&gt;If you have installed elm from the source tarball, for further information, you can look at /usr/local/doc/elm/Filter.guide (ascii version) or /usr/local/doc/elm/Filter.ps (postscript version).&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Sat, 24 Mar 2001 23:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508806#M894252</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-03-24T23:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: EMS on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508807#M894253</link>
      <description>Steven,&lt;BR /&gt;This works great! Thanks for your advise. One more question, I'm defining the ~root/.forward as:&lt;BR /&gt;&lt;BR /&gt;|/u1/scripts/rules.sh&lt;BR /&gt;root&lt;BR /&gt;&lt;BR /&gt;IOW, I want to keep the root's mail unaffected by this new procedure, according to the documentation (man 5 aliases): "this will not cause loops, since no message will be sent to any person more than once" and it seems to be true, can you confirm this?&lt;BR /&gt;Thanks,&lt;BR /&gt;Luis</description>
      <pubDate>Tue, 27 Mar 2001 22:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508807#M894253</guid>
      <dc:creator>thewho?</dc:creator>
      <dc:date>2001-03-27T22:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: EMS on HP-UX 11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508808#M894254</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Unless you are using both NIS and local aliases, you should not be facing any alias looping issues.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Wed, 28 Mar 2001 04:22:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-on-hp-ux-11/m-p/2508808#M894254</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-03-28T04:22:03Z</dc:date>
    </item>
  </channel>
</rss>

