summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorFranz Schwartau <franz@electromail.org>2023-08-29 15:12:47 +0200
committerFranz Schwartau <franz@electromail.org>2023-08-30 15:04:32 +0200
commit06ebad83995921b622aecbd2111f1f6e6c62efc4 (patch)
tree699476868823ff57f95b8deec6c8df0c06f218db /.github
parent3a69b8c16a78953f89267238e74abc4c9e5dca7f (diff)
downloadmonitoring-plugins-06ebad83995921b622aecbd2111f1f6e6c62efc4.tar.gz
check_smtp: add tests for --ssl
Diffstat (limited to '.github')
-rw-r--r--.github/NPTest.cache1
-rwxr-xr-x.github/prepare_debian.sh6
2 files changed, 6 insertions, 1 deletions
diff --git a/.github/NPTest.cache b/.github/NPTest.cache
index e3694573..d488d1b9 100644
--- a/.github/NPTest.cache
+++ b/.github/NPTest.cache
@@ -27,6 +27,7 @@
27 'NP_HOST_TCP_SMTP' => 'localhost', 27 'NP_HOST_TCP_SMTP' => 'localhost',
28 'NP_HOST_TCP_SMTP_NOSTARTTLS' => '', 28 'NP_HOST_TCP_SMTP_NOSTARTTLS' => '',
29 'NP_HOST_TCP_SMTP_STARTTLS' => 'localhost', 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 9611670d..dcf778bc 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