Author Topic: Pb connecting to an Email server ( Sendmail + Dovecot )  (Read 1295 times)

Offline steve376

  • Newbie
  • *
  • Posts: 2
Pb connecting to an Email server ( Sendmail + Dovecot )
« on: June 26, 2021, 06:25:56 AM »
Hi ,
I am using a new image of an email server ( Sendmail v 8.15.2 and Dovecot v 2.3.8 )
IP cannot conect the server with Roundcubemail v1.4.10

ON the server Log file, I can see


Jun 26 14:19:52 mbox1 dovecot[75729]: auth: Debug: auth client connected (pid=103154)
Jun 26 14:19:52 mbox1 dovecot[75729]: imap-login: Disconnected (auth failed, 1 attempts in 0 secs): user=<>, method=LOGIN, rip=109.55.yy.xx, lip=272.1.2.226, session=<vx78RarFJrZtvmZQ>

That sounds to me weird.. a user =<>  Seems NOT possible to be emty

Thunderbird can connect with a user NOT empty

Roundcubemail config is :

config.inc.php
//$config['smtp_server'] = 'ssl://mbox.xxxxx.com';
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['smtp_port'] = 465;
$config['smtp_auth_type'] = 'PLAIN';
$config['language'] = 'en_GB';
$config['mime_param_folding'] = 1;

Any idea ?

Thanks

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Pb connecting to an Email server ( Sendmail + Dovecot )
« Reply #1 on: June 26, 2021, 01:05:28 PM »
Dovecot is an imap server. So, smtp configuration is irrelevant.

Offline steve76

  • Newbie
  • *
  • Posts: 2
Re: Pb connecting to an Email server ( Sendmail + Dovecot )
« Reply #2 on: July 01, 2021, 04:33:00 AM »
I think this is not the point... I have 2 email clients ( Thunderbird and eM client ) , which can connect to the emails servers, so I guess that this is working
But Roundcubemail doesn't.. I cannot see what is wrong

I am running Cento8

Thunderbird config

IMAP Server
  • server domain : mbox.xx.com
  • port : 993
  • User name : yy
  • security connection : SSL/TLS
  • Authentication method : normal Passwrd/li]
SMTP connection

  • server domain : mbox.xx.com
  • port : 465
  • User name : yy
  • security connection : SSL/TLS
  • Authentication method : normal Passwrd/li]
=================

On Roundcubemail config.inc.php

config['default_host'] = 'ssl://mbox.xx.com';
$config['smtp_server'] = 'ssl://mbox.xx.com';
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['smtp_port'] = 465;



Now the error message that I have is :



Jul  1 10:24:59 mbox1 dovecot[16305]: auth: Debug: auth client connected (pid=17294)
Jul  1 10:24:59 mbox1 dovecot[16305]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=109.190.xx.uu, lip=182.1.2.56, TLS handshaking: SSL_accept() failed: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert number 48, session=<lNMtkwvGrqhtvmZQ>


USer is still at : user= <>
and for info; on dovecot :  /etc/dovecot/conf.d/10-ssl.conf

disable_plaintext_auth=yes
ssl_cert = </etc/mail/ssl/ssl1/STAR_xx.com.crt
ssl_key = </etc/mail/ssl/ssl1/private.key
#ssl_min_protocol = TLSv1
ssl = required
ssl_cipher_list = HIGH:!aNULL:!ADH:!DH:!RC4:!MD5:!RSA


Can you see soemthing wrong ?
« Last Edit: July 01, 2021, 05:15:26 AM by steve76 »