Roundcube Community Forum

 

SMTP Localhost via TLS

Started by goerdi, May 02, 2020, 06:24:58 PM

Previous topic - Next topic

goerdi

hi !

maybe i have better luck in english forum :)
i recently installed ubuntu 20.04 and setup postfix and dovecot. (both via starttls and standart ports 25 /smtp and 143 imapd)
Everything is setup... i can can send and receive emails via my client on localhost and remove from my laptop or mobile device.
Then i installed roundcube.. (i did it while ago on ubuntu 16.04) during setup i get failure:
SMTP send:  NOT OK(Authentication failure: SMTP server does not support authentication (Code: ))
For me it seems that roundcube does not try to authenicate...
Imap is still fine...
i tried also to set tls://localhost but without success..
So any hints for me ?
I remember.. in a test installation of a beta version of 20.04 it worked.... but i do not understand whe is the problem.
Also i tried same procedure with the shipped roundcube of ubuntu, but its the same story...

Ciao Gerd

Ciao Gerd

JohnDoh

Since version 1.4 Roundcube has enabled SMTP authentication by default. Since your SMTP server does not support it you must disable it. To do that set you config:

$config['smtp_user'] = '';
$config['smtp_pass'] = '';
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

goerdi

hi !

This one i tried at first... but i found "the trick"..
in postfix main.cf switched from yes to
smtpd_tls_auth_only = no
did it....

ciao gerd