Roundcube Community Forum


SMTP error on version 1.6.1

Started by eehmke, January 27, 2023, 08:27:19 AM

Previous topic - Next topic


I got this error when sending a mail with the new version 1.6.1:
SMTP error (530) ... could not be set
(5.7.0 Must issue a STARTTLS command first)

I restored version 1.6.0 from my backup and the error is gone.

This has been discussed before:
but I don't see the relationship. My PHP version is 8.1. Happens on 8.0 too.


Are there any more details in the Roundcube error log? Check your smtp_host config, make sure it has the tls:// prefix for example.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...


Thank you, that brought me on the right track. However, there are some weird things.

It turns out that the install_to command asked to repair the config file as there would be some unused entries. I acknowledged that. In the process, the smtp_host config was removed completely! I reinserted it, and it works. With or without the protocol prefix.

What's more, the documentation does not give a hint to add the protocol prefix. In the this is not mentioned. I will continue to use that option without the prefix.