diff -r a7f25a31e021 -r a4af6fd99fb0 mercurial/mail.py --- a/mercurial/mail.py Thu Nov 06 09:36:39 2014 +0100 +++ b/mercurial/mail.py Wed Nov 05 18:31:39 2014 +0000 @@ -104,6 +104,7 @@ if util.parsebool(verifycert) is not False: raise util.Abort(_('invalid smtp.verifycert configuration: %s') % (verifycert)) + verifycert = False if (starttls or smtps) and verifycert: sslkwargs = sslutil.sslkwargs(ui, mailhost) else: