[pkg-nagios-changes] [Git][nagios-team/pkg-nagios-plugins-contrib][master] Deleted 1 commit: check_email_delivery: Add --imaptls option by adding d/p/check_email_delivery/add_imap_tls
Jan Wagner (@waja)
gitlab at salsa.debian.org
Wed Feb 23 13:50:16 GMT 2022
Jan Wagner pushed to branch master at Debian Nagios Maintainer Group / pkg-nagios-plugins-contrib
WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.
Deleted commits:
3b0a9df7 by Jan Wagner at 2022-02-23T14:04:16+01:00
check_email_delivery: Add --imaptls option by adding d/p/check_email_delivery/add_imap_tls
- - - - -
2 changed files:
- + debian/patches/check_email_delivery/add_imap_tls
- debian/patches/series
Changes:
=====================================
debian/patches/check_email_delivery/add_imap_tls
=====================================
@@ -0,0 +1,80 @@
+--- a/check_email_delivery/src/check_email_delivery
++++ b/check_email_delivery/src/check_email_delivery
+@@ -38,6 +38,7 @@
+ my $password = "";
+ my $ssl = "";
+ my $imap_ssl = "";
++my $imap_tls = "";
+ my $mailto = "";
+ my $mailfrom = "";
+ my @header = ();
+@@ -93,6 +94,7 @@
+ "imap-mailbox=s"=>\$imap_mailbox,
+ "imap-check-interval=i"=>\$imap_interval,"imap-retries=i"=>\$imap_retries,
+ "imapssl!"=>\$imap_ssl,
++ "imaptls!"=>\$imap_tls,
+ # Time
+ "hires"=>\$time_hires,
+ );
+@@ -130,6 +132,7 @@
+
+ if( $ssl ) {
+ $imap_ssl = $ssl if $imap_ssl eq "";
++ $imap_tls = $ssl if $imap_tls eq "";
+ $smtp_tls = $ssl if $smtp_tls eq "";
+ }
+
+@@ -201,6 +204,7 @@
+ $imap_options .= "-P ".shellquote($imap_password)." " if defined $imap_password and $imap_password ne "";
+ $imap_options .= "--mailbox ".shellquote($imap_mailbox)." " if defined $imap_mailbox and $imap_mailbox ne "";
+ $imap_options .= "--ssl " if defined $imap_ssl and $imap_ssl;
++$imap_options .= "--tls " if defined $imap_tls and $imap_tls;
+
+
+ # create the report object
+@@ -693,6 +697,11 @@
+
+ This argument is shell-escaped; special characters or angle brackets around the address are ok.
+
++=item --imaptls
++=item --noimaptls
++
++Use this to enable or disable TLS/AUTH for the IMAP plugin.
++
+ =item --smtptls
+ =item --nosmtptls
+
+--- a/check_email_delivery/src/check_email_delivery_epn
++++ b/check_email_delivery/src/check_email_delivery_epn
+@@ -36,6 +36,7 @@
+ my $password = "";
+ my $ssl = "";
+ my $imap_ssl = "";
++my $imap_tls = "";
+ my $mailto = "";
+ my $mailfrom = "";
+ my @header = ();
+@@ -91,6 +92,7 @@
+ "imap-mailbox=s"=>\$imap_mailbox,
+ "imap-check-interval=i"=>\$imap_interval,"imap-retries=i"=>\$imap_retries,
+ "imapssl!"=>\$imap_ssl,
++ "imaptls!"=>\$imap_tls,
+ # Time
+ "hires"=>\$time_hires,
+ );
+@@ -128,6 +130,7 @@
+
+ if( $ssl ) {
+ $imap_ssl = $ssl if $imap_ssl eq "";
++ $imap_tls = $ssl if $imap_tls eq "";
+ $smtp_tls = $ssl if $smtp_tls eq "";
+ }
+
+@@ -199,6 +202,7 @@
+ $imap_options .= "-P ".shellquote($imap_password)." " if defined $imap_password and $imap_password ne "";
+ $imap_options .= "--mailbox ".shellquote($imap_mailbox)." " if defined $imap_mailbox and $imap_mailbox ne "";
+ $imap_options .= "--ssl " if defined $imap_ssl and $imap_ssl;
++$imap_options .= "--tls " if defined $imap_tls and $imap_tls;
+
+
+ # create the report object
=====================================
debian/patches/series
=====================================
@@ -12,6 +12,7 @@ check_drbd/fix_for_oos_and_cosmetic
check_email_delivery/epn
check_email_delivery/paths
check_email_delivery/fix_tls
+check_email_delivery/add_imap_tls
check_haproxy/epn
check_haproxy/monitoring-plugin
check_haproxy_stats/interpreter
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/-/commit/3b0a9df7e00de193d1fe690c1cf6f55fe273466b
--
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/-/commit/3b0a9df7e00de193d1fe690c1cf6f55fe273466b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20220223/069b8f18/attachment-0001.htm>
More information about the pkg-nagios-changes
mailing list