check_smtp.c: modified SSL check for use with -e (#1378)

Oliver Skibbe notifications at
Thu Oct 8 07:45:18 CEST 2015

Currently STARTTLS check does not work with -e if there's text like '220
hostname ESMTP*'. This is caused by SMTP answer from host. 

Postfix answer: **220 2.0.0 Ready to start TLS**
Exchange 2010: **220 2.0.0 SMTP server ready**

This fix introduces a constant for '220 2.0.0' which is used to check if TLS
connection is ok

Closes #1093 
You can view, comment on, or merge this pull request online at:

-- Commit Summary --

  * check_smtp.c: modified SSL check for use with -e

-- File Changes --

    M NEWS (4)
    M plugins-scripts/ (1)
    M plugins/check_http.c (22)
    M plugins/check_smtp.c (14)
    M plugins/netutils.h (10)
    M plugins/sslutils.c (81)

-- Patch Links --

Reply to this email on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list