Author Topic: SMTP Localhost via TLS  (Read 4661 times)

Offline goerdi

  • Newbie
  • *
  • Posts: 8
SMTP Localhost via TLS
« on: May 02, 2020, 06:24:58 PM »
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

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: SMTP Localhost via TLS
« Reply #1 on: May 03, 2020, 08:50:06 AM »
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:
Code: [Select]
$config['smtp_user'] = '';
$config['smtp_pass'] = '';
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline goerdi

  • Newbie
  • *
  • Posts: 8
Re: SMTP Localhost via TLS
« Reply #2 on: May 03, 2020, 11:52:37 PM »
hi !

This one i tried at first... but i found "the trick"..
 in postfix main.cf switched from yes to
Code: [Select]
smtpd_tls_auth_only = nodid it....

ciao gerd