Mark Bergsma has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/188553

Change subject: Disable LWP SSL hostname verification
......................................................................

Disable LWP SSL hostname verification

The RT mail gate appears to have broken recently, likely when the
RT SSL cert was replaced. Quick debugging showed that LWP::UserAgent
was complaining about SSL hostname verification failing. Setting
this environment variable turns that off.

Change-Id: I6ae6bcf2f365a4b4aa63834bd703fd8f541d395f
---
M templates/exim/exim4.conf.SMTP_IMAP_MM.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/53/188553/1

diff --git a/templates/exim/exim4.conf.SMTP_IMAP_MM.erb 
b/templates/exim/exim4.conf.SMTP_IMAP_MM.erb
index 4e51886..3e37f04 100644
--- a/templates/exim/exim4.conf.SMTP_IMAP_MM.erb
+++ b/templates/exim/exim4.conf.SMTP_IMAP_MM.erb
@@ -640,7 +640,7 @@
        command = /usr/bin/rt-mailgate --queue $local_part \
                --action "${if 
eq{$local_part_suffix}{-comment}{comment}{correspond}}" \
                --extension ticket --url https://rt.wikimedia.org
-       environment = $address_data
+       environment = $address_data : PERL_LWP_SSL_VERIFY_HOSTNAME=0
        user = mail
        group = mail
        return_fail_output

-- 
To view, visit https://gerrit.wikimedia.org/r/188553
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ae6bcf2f365a4b4aa63834bd703fd8f541d395f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to