Topic: Roundcube unable to send to external SMTP server - Authentication fail
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
iRedMail version (check /etc/iredmail-release): 1.7.4 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: FreeBSD 14.3-RELEASE amd64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
====
I want to have mail from roundcube sent directly to an external SMTP mail host, with the mail username and password stored in roundcube. Using username and password that works just fine from Thunderbird, I get "Authentication failure" from roundcube.
In Thunderbird the settings are "Connection Security: SSL/TLS" and "Authentication method: Normal password".
Here are my settings from /usr/local/www/roundcube/config/config.inc.php:
$config['smtp_host'] = 'ssl://relayhost.com:465';
$config['smtp_port'] = '465';
$config['smtp_user'] = 'fie@foe.com';
$config['smtp_pass'] = '#############';
$config['smtp_auth_type'] = null;
$config['smtp_conn_options'] = null;
$config['smtp_helo_host'] = 'me.com';
$config['smtp_xclient_addr'] = false;
$config['smtp_xclient_login'] = false;
$config['smtp_auth_cid'] = null;
$config['smtp_auth_pw'] = null;
Any suggestions?
Julf
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.