• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Webmail don't send email

CercamiFacile

New Pleskian
Hi, I've 4 server with plesk 18.0.31 #2 and from all server no client can send mail from webail and horde or roundcube. They have always the same error: "There was an error sending the message: Server denied authentication"

From pc all work fine but with webmail is impossible to send email. This is a problem that has always been on emails, but I would like to solve it once and for all.
Thanks
 
Any related details from /var/log/psa-horde/psa-horde.log or from /var/log/plesk-roundcube/errors ?
 
This is log for horde:

2020-12-03T08:07:16+00:00 ERR: HORDE [horde] FAILED LOGIN for [email protected] ([email protected]) [2.47.123.165] to horde [pid 22755 on line 215 of "/usr/share/psa-horde/login.php"]
2020-12-03T08:09:35+00:00 ERR: HORDE [imp] Server denied authentication. [pid 23291 on line 1160 of "/usr/share/psa-horde/imp/lib/Compose.php"]
 
What is the content of section

// send email with authorization on SMTP server

in the file /etc/psa-webmail/horde/horde/conf.php ?
 
// send email with authorization on SMTP server
$conf['mailer']['params']['host'] = 'ssl://localhost';
$conf['mailer']['params']['port'] = 465;
$conf['mailer']['params']['auth'] = true;
$conf['mailer']['params']['username_auth'] = true;
$conf['mailer']['params']['password_auth'] = true;
$conf['mailer']['type'] = 'smtp';

$conf['history']['params']['driverconfig'] = 'horde';
$conf['history']['driver'] = 'Sql';
$conf['davstorage']['params']['driverconfig'] = 'horde';
$conf['davstorage']['driver'] = 'Sql';
$conf['vfs']['params']['driverconfig'] = 'horde';
$conf['vfs']['type'] = 'Sql';
$conf['sessionhandler']['type'] = 'Builtin';
$conf['sessionhandler']['hashtable'] = false;
$conf['spell']['driver'] = 'aspell';
$conf['gnupg']['keyserver'] = array('pool.sks-keyservers.net');
$conf['gnupg']['timeout'] = 10;
$conf['openssl']['path'] = '/usr/bin/openssl';
$conf['nobase64_img'] = false;
$conf['image']['driver'] = false;
$conf['exif']['driver'] = 'Bundled';
$conf['mime']['magic_db'] = ' /usr/share/misc/magic';
$conf['timezone']['location'] = 'ftp://ftp.iana.org/tz/tzdata-latest.tar.gz';
$conf['problems']['email'] = 'root@localhost';
$conf['problems']['maildomain'] = 'localhost';
$conf['problems']['tickets'] = false;
$conf['problems']['attachments'] = true;
$conf['menu']['links']['help'] = 'all';
$conf['menu']['links']['prefs'] = 'authenticated';
$conf['menu']['links']['problem'] = 'never';
$conf['menu']['links']['login'] = 'all';
$conf['menu']['links']['logout'] = 'authenticated';
$conf['portal']['fixed_blocks'] = array();
$conf['accounts']['driver'] = 'null';
$conf['user']['verify_from_addr'] = false;
$conf['user']['select_view'] = true;
$conf['facebook']['enabled'] = false;
$conf['twitter']['enabled'] = false;
$conf['urlshortener'] = false;
$conf['weather']['provider'] = false;
$conf['imap']['enabled'] = false;
$conf['imsp']['enabled'] = false;
$conf['kolab']['enabled'] = false;
$conf['hashtable']['driver'] = 'none';
$conf['activesync']['enabled'] = false;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
 
Is there port 465 is open and can you connect to this port? Check it with

# lsof -i tcp:465

and

# telnet localhost 465
 
This is the report


[root@ns3112772 ~]# lsof -i tcp:465
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
smtpd 531 postfix 6u IPv4 25517891 0t0 TCP *:urd (LISTEN)
smtpd 531 postfix 7u IPv6 25517892 0t0 TCP *:urd (LISTEN)
smtpd 3453 postfix 6u IPv4 25517891 0t0 TCP *:urd (LISTEN)
smtpd 3453 postfix 7u IPv6 25517892 0t0 TCP *:urd (LISTEN)
smtpd 3725 postfix 6u IPv4 25517891 0t0 TCP *:urd (LISTEN)
smtpd 3725 postfix 7u IPv6 25517892 0t0 TCP *:urd (LISTEN)
smtpd 24006 postfix 6u IPv4 25517891 0t0 TCP *:urd (LISTEN)
smtpd 24006 postfix 7u IPv6 25517892 0t0 TCP *:urd (LISTEN)
master 32057 root 93u IPv4 25517891 0t0 TCP *:urd (LISTEN)
master 32057 root 94u IPv6 25517892 0t0 TCP *:urd (LISTEN)
[root@ns3112772 ~]# telnet localhost 465
-bash: telnet: command not found
[root@ns3112772 ~]#
 
[root@ns3112772 ~]# telnet localhost 465
Trying ::1...
Connected to localhost.
Escape character is '^]'.

And it stay still.
 
Back
Top