summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-09-04 10:22:26 (GMT)
committerGitHub <noreply@github.com>2023-09-04 10:22:26 (GMT)
commitb1a60bac4b5aa70f9c81212d8abac22086707e37 (patch)
tree215dc55006d28ed4a9b0cf1361560b9c3ec0eccb /.github
parent621e2b7e8bca3936660213430b73bb9d7a68cbe3 (diff)
parent06ebad83995921b622aecbd2111f1f6e6c62efc4 (diff)
downloadmonitoring-plugins-b1a60bac4b5aa70f9c81212d8abac22086707e37.tar.gz
Merge pull request #1908 from franzs/feature_check_smtp_ssl_test
Add tests for connecting with TLS in check_smtp.t
Diffstat (limited to '.github')
-rw-r--r--.github/NPTest.cache5
-rwxr-xr-x.github/prepare_debian.sh6
2 files changed, 8 insertions, 3 deletions
diff --git a/.github/NPTest.cache b/.github/NPTest.cache
index 232305a..d488d1b 100644
--- a/.github/NPTest.cache
+++ b/.github/NPTest.cache
@@ -25,8 +25,9 @@
25 'NP_HOST_TCP_POP' => 'pop.web.de', 25 'NP_HOST_TCP_POP' => 'pop.web.de',
26 'NP_HOST_TCP_PROXY' => 'localhost', 26 'NP_HOST_TCP_PROXY' => 'localhost',
27 'NP_HOST_TCP_SMTP' => 'localhost', 27 'NP_HOST_TCP_SMTP' => 'localhost',
28 'NP_HOST_TCP_SMTP_NOTLS' => '', 28 'NP_HOST_TCP_SMTP_NOSTARTTLS' => '',
29 'NP_HOST_TCP_SMTP_TLS' => '', 29 'NP_HOST_TCP_SMTP_STARTTLS' => 'localhost',
30 'NP_HOST_TCP_SMTP_TLS' => 'localhost',
30 'NP_HOST_TLS_CERT' => 'localhost', 31 'NP_HOST_TLS_CERT' => 'localhost',
31 'NP_HOST_TLS_HTTP' => 'localhost', 32 'NP_HOST_TLS_HTTP' => 'localhost',
32 'NP_HOST_UDP_TIME' => 'none', 33 'NP_HOST_UDP_TIME' => 'none',
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 9611670..dcf778b 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -116,7 +116,11 @@ service snmpd start
116# start cron, will be used by check_nagios 116# start cron, will be used by check_nagios
117cron 117cron
118 118
119# start postfix 119# postfix
120cat <<EOD >> /etc/postfix/master.cf
121smtps inet n - n - - smtpd
122 -o smtpd_tls_wrappermode=yes
123EOD
120service postfix start 124service postfix start
121 125
122# start ftpd 126# start ftpd