From: Stephen L Johnson Date: Wed, 27 Sep 2000 03:31:25 +0000 (+0000) Subject: add IMAP logout command for a cleaner exit X-Git-Tag: spong-2_7_0-beta1~24 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5fffca5012bae2f64fd254a03cc257bb3ae430;p=spong.git add IMAP logout command for a cleaner exit --- diff --git a/src/lib/Spong/Network/plugins/check_imap b/src/lib/Spong/Network/plugins/check_imap index b2d19cb..2b24028 100755 --- a/src/lib/Spong/Network/plugins/check_imap +++ b/src/lib/Spong/Network/plugins/check_imap @@ -4,7 +4,7 @@ $PLUGINS{'imap'} = \&check_imap; # Check the imap service with the built-in check_simple routine sub check_imap { my ($host) = @_; - return &check_simple( $host, 143, "", "OK", "imap" ); + return &check_simple( $host, 143, "0 logout", "OK", "imap" ); } 1;