1

Topic: SSL error with Dovecot

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySql
- Linux/BSD distribution name and version: 12.0.4 LTS
- Related log if you're reporting an issue:
====

I tested Dovecot connection with telnet on port 143.  I am unable to log into Dovecot server remotely.

Commands on local access: telnet localhost 143 [ENTER]
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

Commands on remote access: telnet server_address 143 [ENTER]
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

Note: I have modified Dovecot conf to plain text authentication...
ssl=yes
disable_plaintext_auth=no

Please help on allowing remote login.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: SSL error with Dovecot

Hi Lamine,

Remote login is enabled by default. What's your issue?

3

Re: SSL error with Dovecot

Note:

Here is the error I am getting at the console:

Email Open: MessagingException me: sun.security.validator.ValidatorException: No trusted certificate found; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found


lamine wrote:

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySql
- Linux/BSD distribution name and version: 12.0.4 LTS
- Related log if you're reporting an issue:
====

I tested Dovecot connection with telnet on port 143.  I am unable to log into Dovecot server remotely.

Commands on local access: telnet localhost 143 [ENTER]
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

Commands on remote access: telnet server_address 143 [ENTER]
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

Note: I have modified Dovecot conf to plain text authentication...
ssl=yes
disable_plaintext_auth=no

Please help on allowing remote login.

4

Re: SSL error with Dovecot

Seems  your client is using SSL and requests SSL certificate signed by official CA authority... you have basically 3 options:
- reconfigure your client to not use SSL,
- reconfigure your client to not require signed certificate (eg. import the iRedMail certificate into trusted certificate store on client),
- buy signed certificate and install it into iRedMail.

Depends on what you prefer and your skills/possibilities.