checking POP (and IMAP) via SSL?

Karl DeBisschop karl at debisschop.net
Wed Jan 7 14:07:29 CET 2004


On Tue, 2004-01-06 at 15:05, John Mahoney wrote:
> Hi,
> 
> I want to verify that POP and IMAP via SSL are working
> correctly.
> 
> Can I use check_pop & check_imap to do this?
> 
> I know I can use these to verify a socket connection, 
>     % ./check_imap -H my_mail_server -p 993 -t 5
>     Socket timeout after 5 seconds
> 
>     % ./check_pop -H my_mail_server -p 995 -t 5
>     Socket timeout after 5 seconds
> but I think this is an incomplete check.
> 
> Is there a better way to do this?
> 
> Maybe I just need to send more data via the -s flag...

Try check_simap and check_spop -- they are just symlinks to check_tcp,
but when invoked with that name, SSL will be used by default and the SSL
port will be used - you won't need to specofy that.

--
Karl



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list