]> git.etc.gen.nz Git - spong.git/commitdiff
add IMAP logout command for a cleaner exit
authorStephen L Johnson <sjohnson@monsters.org>
Wed, 27 Sep 2000 03:31:25 +0000 (03:31 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Wed, 27 Sep 2000 03:31:25 +0000 (03:31 +0000)
src/lib/Spong/Network/plugins/check_imap

index b2d19cbd7f9f32874c8d4880f605413ac7cda7dd..2b240285aee156cf8965313aa3dc52aadfde1a34 100755 (executable)
@@ -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;