Re: loses imap session

Randy Bush <[email protected]> Sun, 28 Jul 2019 17:26:48 -0700
Newsgroups gmane.mail.wanderlust.general
Message-ID <m2ftmp3ctz.wl-randy__43062.1749068209$1564360083$gmane$org@psg.com>
>>> macbook running mojave 10.14.6
>>> Wanderlust/2.15.9 (Almost Unreal) Emacs/26.2 Mule/6.0 (HANACHIRUSATO
>>> wl loses connectivity to imap server
>> 
>> See
>> https://github.com/wanderlust/wanderlust/issues/166
>> Does it resolve your problem?
> 
> it does indeed.  i used to only have
> 
>     ;; because i go through ssl tunnel to iij
>     (setq ssl-certificate-verification-policy 1)
> 
> but added
> 
>     ;; https://github.com/wanderlust/wanderlust/issues/166
>     (setq gnutls-verify-error t)
>     (setq gnutls-min-prime-bits 1024)
>     (setq gnutls-algorithm-priority "SECURE128:-VERS-SSL3.0:-VERS-TLS1.3")
> 
> and have had no problems since.

whoops!  when trying to imap through the ssl tunnel, i now get

    byte-code: The x509 certificate does not match "localhost"
    The x509 certificate does not match "localhost"

i had to instead use

    (setq gnutls-verify-error nil)

randy