<?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: Scripting help needed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015549#M129447</link>
    <description>If you are working with sendmail on your box, then you can do this with a simple trick.&lt;BR /&gt;&lt;BR /&gt;go into&lt;BR /&gt;&lt;BR /&gt;# cd /etc/mail&lt;BR /&gt;# vi aliases&lt;BR /&gt;&lt;BR /&gt;i.e. your email account is wim.&lt;BR /&gt;create a line &lt;BR /&gt;&lt;BR /&gt;wim: "| &lt;YOUR programm=""&gt;"&lt;BR /&gt;&lt;BR /&gt;save it !!!&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/newaliases&lt;BR /&gt;&lt;BR /&gt;Now, everytime wim gets an email. &lt;YOUR programm=""&gt; will be started.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;   Roland&lt;BR /&gt;&lt;BR /&gt;PS: Read manpage from aliases&lt;BR /&gt;&lt;BR /&gt;&lt;/YOUR&gt;&lt;/YOUR&gt;</description>
    <pubDate>Fri, 04 Jul 2003 09:37:21 GMT</pubDate>
    <dc:creator>RolandH</dc:creator>
    <dc:date>2003-07-04T09:37:21Z</dc:date>
    <item>
      <title>Scripting help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015547#M129445</link>
      <description>If possible, I want to write a script that will be started as soon as a mail arrives in a certain mailbox (standard SMTP mailbox from HP-UX) on my system.&lt;BR /&gt;&lt;BR /&gt;If that is not possible, maybe I could start a script that sleeps until a mail arrives in a specific mailbox, performs some tasks and then go to sleep again until a new mail arrives ?&lt;BR /&gt;&lt;BR /&gt;Can someone give me some tips on how to do this ?&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Fri, 04 Jul 2003 08:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015547#M129445</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2003-07-04T08:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015548#M129446</link>
      <description>Hi,&lt;BR /&gt;mi hint:&lt;BR /&gt;use the command "mailx -e" every tot minutes to test if there is new mail, and take action.&lt;BR /&gt;&lt;BR /&gt;If you want to use the header for more info:&lt;BR /&gt;&lt;BR /&gt;         -H             Print header summary only.&lt;BR /&gt;&lt;BR /&gt;           -L             Print complete header information only.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or check "man mailx" for other options.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jul 2003 09:03:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015548#M129446</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-04T09:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015549#M129447</link>
      <description>If you are working with sendmail on your box, then you can do this with a simple trick.&lt;BR /&gt;&lt;BR /&gt;go into&lt;BR /&gt;&lt;BR /&gt;# cd /etc/mail&lt;BR /&gt;# vi aliases&lt;BR /&gt;&lt;BR /&gt;i.e. your email account is wim.&lt;BR /&gt;create a line &lt;BR /&gt;&lt;BR /&gt;wim: "| &lt;YOUR programm=""&gt;"&lt;BR /&gt;&lt;BR /&gt;save it !!!&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/newaliases&lt;BR /&gt;&lt;BR /&gt;Now, everytime wim gets an email. &lt;YOUR programm=""&gt; will be started.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;   Roland&lt;BR /&gt;&lt;BR /&gt;PS: Read manpage from aliases&lt;BR /&gt;&lt;BR /&gt;&lt;/YOUR&gt;&lt;/YOUR&gt;</description>
      <pubDate>Fri, 04 Jul 2003 09:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015549#M129447</guid>
      <dc:creator>RolandH</dc:creator>
      <dc:date>2003-07-04T09:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015550#M129448</link>
      <description>Hi,&lt;BR /&gt;another hint.&lt;BR /&gt;&lt;BR /&gt;You can create a .forward in your home dir.&lt;BR /&gt;&lt;BR /&gt;I remember that there are tricks that can let you run every program you need at every mail that arrives...&lt;BR /&gt;&lt;BR /&gt;Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jul 2003 09:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015550#M129448</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-04T09:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015551#M129449</link>
      <description>Hi,&lt;BR /&gt;check this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x717e84534efbd5118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x717e84534efbd5118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf55e0fe6d0f7d61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf55e0fe6d0f7d61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  Massimo&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jul 2003 09:48:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015551#M129449</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-04T09:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015552#M129450</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;in this link !!!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xee00d311e18ad5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xee00d311e18ad5118ff10090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;THer must be a .forward like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;| yoursctipto execute&lt;BR /&gt;&lt;BR /&gt;in a line.&lt;BR /&gt;&lt;BR /&gt;Game is done, i think.&lt;BR /&gt;   Massimo&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jul 2003 10:01:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015552#M129450</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-04T10:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting help needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015553#M129451</link>
      <description>Roland,&lt;BR /&gt;&lt;BR /&gt;This is great ! This is exactly what I was looking for. Thank you very much !</description>
      <pubDate>Fri, 04 Jul 2003 10:52:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-help-needed/m-p/3015553#M129451</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2003-07-04T10:52:46Z</dc:date>
    </item>
  </channel>
</rss>

