Author Topic: Cannot login Roundcube dashboard  (Read 10900 times)

Offline TomHsiung

  • Jr. Member
  • **
  • Posts: 16
Re: Cannot login Roundcube dashboard
« Reply #15 on: February 16, 2019, 08:16:19 AM »
Unfortunately, I encountered new issue when I tried to send email via the webmail. Note that the desktop email client of Macintosh Mail.app worked well.

This error:

Code: [Select]
SMTP Error (530): Failed to set sender "xxx@xxx.com" (5.7.0 Must issue a STARTTLS command first).
Tom

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Cannot login Roundcube dashboard
« Reply #16 on: February 16, 2019, 09:22:08 AM »
perhaps the same as this https://github.com/roundcube/roundcubemail/issues/4590? may be you need to the smtp auth settings. If its not that then when config do you have in $config['smtp_server'] and $config['smtp_port']?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline TomHsiung

  • Jr. Member
  • **
  • Posts: 16
Re: Cannot login Roundcube dashboard
« Reply #17 on: February 17, 2019, 01:13:49 AM »
It's solved by adding to config.inc.php

Code: [Select]
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';

However, this raise safety concern. Is it secure to add this two lines?

Tom

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Cannot login Roundcube dashboard
« Reply #18 on: February 17, 2019, 02:53:13 AM »
Quote
However, this raise safety concern.
What concern?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline TomHsiung

  • Jr. Member
  • **
  • Posts: 16
Re: Cannot login Roundcube dashboard
« Reply #19 on: February 18, 2019, 10:40:53 AM »
Quote
However, this raise safety concern.
What concern?

That is, would these two lines cause security flaws, or reduce the effect of TLS. Thanks.

Tom

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Cannot login Roundcube dashboard
« Reply #20 on: February 20, 2019, 02:52:28 AM »
The options have nothing to do with TLS. SMTP login is done during transaction time, after the TLS connection is established. It's a similar process to how Roundcube logins to your IMAP server.
« Last Edit: February 20, 2019, 03:00:49 AM by JohnDoh »
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…