Hi All
Apologies for what must be a rather basic question -- but I've hit a brick
wall in getting Roundcube working.
Can anyone please help identify what is wrong?
Going to the installer -- /installer/index.php?_step=3, everything appears
configured correctly.
Crucially, the 'Test SMTP config' and 'Test IMAP config' sections work
without error.
The test email sent is received at the intended destination.
However, when logged in to an IMAP account, I am unable to send any email.
The attempt gives the error: "SMTP Error (): Authentication failed."
My SMTP server is on the same box as Roundcube.
It accepts email submission via SMTP on ports 25, 465, and 587, although I
could probably look at other methods (pipe, socket,...)
For clients on the local network, no authentication is necessary, although
I permit this if a client issues an AUTH command (because I use it for
testing). For example, the following command works:
swaks --server 192.168.123.254:465 --tls-on-connect --to
whitepj(a)mydomain.co.uk --auth-user test_user --auth-password user_password
--auth PLAIN
My Roundcube configuration has been through several edits based on
suggestions from the web.
It is currently:
$config['smtp_host'] = '192.168.123.254:25';
$config['smtp_auth_type'] = null;
Roundcube version is 1.6.10
In Errors.log, I get the following:
[20-Apr-2025 10:06:40 +0000]: <gln3hk80> PHP Error: SMTP server does not
support authentication (POST
/?_task=mail&_unlock=loading1745143624474&_framed=1&_action=send)
[20-Apr-2025 10:06:40 +0000]: <gln3hk80> SMTP Error: Authentication
failure: test message
SIZE 8388608
8BITMIME
DSN
ETRN
VRFY
EXPN
PIPELINING
PIPECONNECT
CHUNKING
STARTTLS
PRDR
HELP (Code: 250) in /<...snip...>/htdocs/program/lib/Roundcube/rcube.php on
line 1795 (POST
/?_task=mail&_unlock=loading1745143624474&_framed=1&_action=send)
Many thanks.
Phil