<?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: IMAP daemon ping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/imap-daemon-ping/m-p/2549495#M875802</link>
    <description>Edit a file "exit" with vi,in vi ctrl-v (for insert) ctrl-] (for to go in telnet prompt) after edit quit.You have a file with 2 lines ctrl-] and quit. &lt;BR /&gt;#telnet {hostname} 143 &amp;lt; exit</description>
    <pubDate>Fri, 06 Jul 2001 08:20:34 GMT</pubDate>
    <dc:creator>Vincenzo Restuccia</dc:creator>
    <dc:date>2001-07-06T08:20:34Z</dc:date>
    <item>
      <title>IMAP daemon ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/imap-daemon-ping/m-p/2549493#M875800</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm desperately seeking a tool to verify whether a running imap daemon is indeed up and running and responding.&lt;BR /&gt;I know I can try a telnet to the daemon on his listen port (143), but then I'm not able anymore to get out of that Telnet and that's a problem when I want to execute this from a script (the script generates hanging telnet processes under init).&lt;BR /&gt;Isn't there any other way ? Is there for example not somewhere a tool like 'imapping' or something like that?&lt;BR /&gt;&lt;BR /&gt;thanks in advance for all your help!</description>
      <pubDate>Fri, 06 Jul 2001 05:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/imap-daemon-ping/m-p/2549493#M875800</guid>
      <dc:creator>Van Poelvoorde</dc:creator>
      <dc:date>2001-07-06T05:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMAP daemon ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/imap-daemon-ping/m-p/2549494#M875801</link>
      <description>You could use a here document:&lt;BR /&gt;&lt;BR /&gt;telnet {hostname} 143 &amp;lt; /tmp/imap.test 2&amp;gt;/dev/null&lt;BR /&gt;0 logout&lt;BR /&gt;!&lt;BR /&gt;&lt;BR /&gt;The check the contents of /tmp/imap.test&lt;BR /&gt;&lt;BR /&gt;Robin.</description>
      <pubDate>Fri, 06 Jul 2001 06:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/imap-daemon-ping/m-p/2549494#M875801</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-07-06T06:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: IMAP daemon ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/imap-daemon-ping/m-p/2549495#M875802</link>
      <description>Edit a file "exit" with vi,in vi ctrl-v (for insert) ctrl-] (for to go in telnet prompt) after edit quit.You have a file with 2 lines ctrl-] and quit. &lt;BR /&gt;#telnet {hostname} 143 &amp;lt; exit</description>
      <pubDate>Fri, 06 Jul 2001 08:20:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/imap-daemon-ping/m-p/2549495#M875802</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-07-06T08:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: IMAP daemon ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/imap-daemon-ping/m-p/2549496#M875803</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This will only work if you have perl and the IO::Socket module installed. Perl might be installed into another dir on your system.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/perl &lt;BR /&gt;&lt;BR /&gt;use strict;&lt;BR /&gt;use IO::Socket::INET;&lt;BR /&gt;&lt;BR /&gt;my ( $imap );&lt;BR /&gt;&lt;BR /&gt;$imap=IO::Socket::INET-&amp;gt;new( PeerAddr =&amp;gt; 'localhost:143');&lt;BR /&gt;&lt;BR /&gt;if(defined($imap) &amp;amp;&amp;amp; $imap-&amp;gt;connected())&lt;BR /&gt;{&lt;BR /&gt;  shutdown($imap,2);&lt;BR /&gt;  print "Connection to imap service succeeded.\n";&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;  print "Connection to imap service failed.\n";&lt;BR /&gt;}</description>
      <pubDate>Fri, 06 Jul 2001 08:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/imap-daemon-ping/m-p/2549496#M875803</guid>
      <dc:creator>Vincent Stedema</dc:creator>
      <dc:date>2001-07-06T08:25:41Z</dc:date>
    </item>
  </channel>
</rss>

