Release Support > Release Discussion

SMTP error on version 1.6.1

(1/1)

eehmke:
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:
https://www.roundcubeforum.net/index.php?topic=23841.0
but I don't see the relationship. My PHP version is 8.1. Happens on 8.0 too.

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

eehmke:
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 config.inc.php.sample this is not mentioned. I will continue to use that option without the prefix.

Navigation

[0] Message Index

Go to full version