<br><br><div class="gmail_quote">On Wed Nov 05 2014 at 5:11:57 PM Pierre-Yves David <<a href="mailto:pierre-yves.david@ens-lyon.org">pierre-yves.david@ens-lyon.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Pierre-Yves David <<a href="mailto:pierre-yves.david@fb.com" target="_blank">pierre-yves.david@fb.com</a>><br>
# Date 1415212299 0<br>
#      Wed Nov 05 18:31:39 2014 +0000<br>
# Node ID 3a44dbed6cb41b9573b4d74dd4cd99<u></u>98a8f6a1c2<br>
# Parent  1743ad376a1aae9981a8fdd57f3690<u></u>e8a8c0d819<br>
mail: actually use the verifycert config value<br>
<br>
The mail module only verify the smtp ssl certificate if 'verifycert' is enabled<br>
(the default). The 'verifycert' can take three possible values:<br>
<br>
- 'strict' (means enabled)<br>
- 'loose' (means disabled)</blockquote><div><br></div><div>According to the commit message of the commit that added the feature (<a href="http://selenic.com/hg/rev/19d489404d79">http://selenic.com/hg/rev/19d489404d79</a>), 'loose' does not mean disabled. The differentiation between 'loose' and 'strict' seems to be done here: <a href="http://selenic.com/hg/file/2d54aa5397cd/mercurial/mail.py#l133">http://selenic.com/hg/file/2d54aa5397cd/mercurial/mail.py#l133</a></div></div>