Closed roburb closed 1 year ago
Hello roburb, First I would check the conf.php. It should look something like this:
$mailboxes = [
'name' => 'Dmarc-Rua',
'host' => '127.0.0.1',
'encryption' => 'starttls',
'username' => 'dmarc-rua@example.net',
'password' => 'your_password',
'mailbox' => 'INBOX',
'novalidate-cert' => true, // because you are using 127.0.0.1 as host name.
];
Second I would check your mail server settings. Have you tried connecting your mailbox from a regular client using starttls? Successfully?
Thank you for you quick support. I have used you values for config options, It is still the same. If I change encryption back to none, it works.
It looks like your mail server doesn't support starttls. Try using ssl
instead.
I am quite sure, the server support tls, see other logs from imap.log
imap-login: Login: user=
I didn't say that your server doesn't support tls, I said that your server might not support starttls. There are at least two popular methods to encrypt imap traffic: starttls and ssl/tls. They differ in the way the TLS session is initialized, and have different port to connect to. I think the log you provided is related to connecting to port 993 and not 143 (default port for starttls).
I myself have not used starttls for a long time but I will check again a little later. Thank you.
Thank you for tip. I have changed the config value: encryption to SSL host to full server name novalidate-cert to false
and in the log is now:
Dec 7 16:47:47 ... dovecot[2252]: imap-login: Login: user=
So it looks like everything is working. the correct value for encryption is SSL
Thank you :-) 👍
I'm glad you made it. Good luck.
I would like to use starttls connection to maildir the error message: imap-login: Disconnected: Connection closed: SSL_accept() failed: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, TLS handshaking: SSL_accept() failed: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol, session=<GqC79zvvFpp/AAAB> Where I should start to correct the issue? Thank you