Problem EXIM port SSL & TLS

NovaWebSE

Verified User
Joined
Jan 23, 2014
Messages
28
Good morning,
I have a problem about a new installation of Directadmin.
I can not access mail via client (thunderbird etc.)
reported error (invalid username or password)
if I use ports not (SSL & TLS) I can access
I can not help finding a solution you can help me.


and this guide does not work for debian 9 by mistake
(I need IMAP compiled into php) https://help.directadmin.com/item.php?id=341

Best regards
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,902
Location
GMT +7.00
Hello,

First of all we need to see error logs of Dovecot.

As for SSL/TLS you might need to install a valid cert first.

and this guide does not work for debian 9 by mistake
What error do you get?
 

NovaWebSE

Verified User
Joined
Jan 23, 2014
Messages
28
Log Dovecot this :

Jan 12 14:31:50 lmtp(23154): Error: SSL context initialization failed, disabling SSL: Couldn't parse DH parameters: error:0906D06C:pEM routines:pEM_read_bio:no start line: Expecting: DH PARAMETERS
Jan 12 14:31:50 lmtp(23150): Error: SSL context initialization failed, disabling SSL: Couldn't parse DH parameters: error:0906D06C:pEM routines:pEM_read_bio:no start line: Expecting: DH PARAMETERS

AND
and this guide does not work for debian 9 by mistake
(I need IMAP compiled into php) https://help.directadmin.com/item.php?id=341
Errore this :
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.

*** There was an error while trying to configure php. Check the configure file
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,902
Location
GMT +7.00
As for Dovecot, I'd rather try this:


Code:
./build update
./build set dovecot yes
./build set dovecot_conf yes
./build dovecot
./build dovecot_conf
and see whether or not it helps.

As for PHP imap you need to manually install all the requirements if they were not installed by the suggested script.
 

NovaWebSE

Verified User
Joined
Jan 23, 2014
Messages
28
Unfortunately, it did not take effect.
I found this error in /var/log/email.error
RS: user=<>, rip=151.51.133.86, lip=88.198.196.230, session=<CrruHaRiL8iXM4VW>
Jan 13 09:25:00 admin01 dovecot[8012]: pop3-login: Error: Failed to initialize SSL server context: Couldn't parse DH parameters: error:0906D06C:pEM routines:pEM_read_bio:no start line: Expecting: DH PARAMETERS: user=<>, rip=151.51.133.86, lip=88.198.196.230, session=<TSHyHaRiM8iXM4VW>
Jan 13 09:25:00 admin01 dovecot[8012]: pop3-login: Error: Failed to initialize SSL server context: Couldn't parse DH parameters: error:0906D06C:pEM routines:pEM_read_bio:no start line: Expecting: DH PARAMETERS: user=<>, rip=151.51.133.86, lip=88.198.196.230, session=<rmX1HaRiN8iXM4VW>
Jan 13 09:25:00 admin01 dovecot[8012]: pop3-login: Error: Failed to initialize SSL server context: Couldn't parse DH parameters: error:0906D06C:pEM routines:pEM_read_bio:no start line: Expecting: DH PARAMETERS: user=<>, rip=151.51.133.86, lip=88.198.196.230, session=<c3v4HaRiO8iXM4VW>
 
Top