Would it be possible to add a tickbox to later Xen versions that allows you to use self-signed SMTP/TLS certificates with your chosen email server? ProtonMail Bridge (https://protonmail.com/bridge/) and requires this to function, but I'm sure many other relays would benefit. The code is simple, just need to add some options to ...\swiftmailer\lib\classes\Swift\Transport\StreamBuffer.php;
Change: $options = array();
To: $options = array('ssl' => array('allow_self_signed' => true, 'verify_peer' => false));
It would also need to be added to the IMAP Zend mailer as well.
Change: $options = array();
To: $options = array('ssl' => array('allow_self_signed' => true, 'verify_peer' => false));
It would also need to be added to the IMAP Zend mailer as well.
Upvote
0