

Messages are not deleted from the server (unless you choose to delete them, but even then they will probably be placed in a Trash folder by default rather than deleted outright). Edit /lib/plugins/smtp/subtree/txtthinking/Mailer/src/Mailer/SMTP.With IMAP, emails are individually downloaded only when you click to view them. Reconfigure the ca-certificates package:Ĭhoose 'Ask' when prompted and activate the new certificate in the list that then pops up.ĥ. Create a certificate in the certificate store (/usr/share/ca-certificates/) and paste in the server certificate obtained from the output of Step 1.Ĥ. Install package ca-certificates if not installed already.ģ. Openssl s_client -connect winpc-hostname:1025 -starttls smtpĢ. Also PHPMailer needs to be modified to use stream contexts so that peer name verification can be disabled for winpc-hostname Solution: The ProtonMail certificate needs to be imported to the certificate store. Warning: stream_socket_enable_crypto(): Peer certificate CN='127.0.0.1' did not match expected CN='winpc-hostname' OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. Netsh interface portproxy add v4tov4 listenaddress=winpc-ipaddr listenport=1025 connectaddress=127.0.0.1 connectport=1025Īlso, an incoming rule for port 1025 needs to be added to Windows Firewall.ĭokuWiki error: 'There was an unexpected problem communicating with SMTP: Start TLS failed to enable crypto' Solution: Bridge only listens on localhost:1025 so winpc-ipaddr:1025 needs to be proxied to localhost:1025:

NOTE: There are some security ramifications from disabling SSL peer name verification in the SMTP Plugin as shown below. NOTE: Ensure the password set in the DokuWiki SMTP Plugin config (auth_pass) is the one generated by ProtonMail Bridge, not the ProtonMail account password (similar to the setup for other clients). ProtonMail Bridge on Windows PC (winpc-hostname, winpc-ipaddr) DokuWiki on RaspberryPi (Raspbian Buster) I'm documenting this for longevity as I didn't see anything relevant in the forum to this niche case.
