From da5fffca5012bae2f64fd254a03cc257bb3ae430 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 27 Sep 2000 03:31:25 +0000 Subject: [PATCH] add IMAP logout command for a cleaner exit --- src/lib/Spong/Network/plugins/check_imap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2