Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: linpi on November 16, 2023, 08:13:48 AM

Title: after upgrading from from 1.4.13. to 1.6.5, I can not send an email
Post by: linpi on November 16, 2023, 08:13:48 AM
I use rouncube since many years on a small linux server. I tried to upgrade from 1.4.13. to 1.6.5 and the upgrade worked well. But know there is an error message when I'm trying to send a email:
SMTP error (530): the sender '[email protected]' could not be set (5.7.0 Must issue a STARTTLS command first).
I had to go back to 1.4.13 since the server is used from about 50 people/friends and I can not block it too long.
In the rouncube version 1.4.13, the smtp server was empty: $config['smtp_server'] = ''; and was and still working fine...
Know in the version 1.6.5 there is a $config['imap_host'] & $config['smtp_host'].
Why know I have to start a STARTTLS, since rouncube is already on the mail server (with Postfix) and is an internal connection ? Or is the error message not completely correct ?
Can not 'smtp_host' just be localhost without tls:// ?
I didn't find the wiki what change between 1.4.x and 1.5.x.
thank you for some hint ;-)
Title: Re: after upgrading from from 1.4.13. to 1.6.5, I can not send an email
Post by: Dmitry42 on November 16, 2023, 10:09:46 AM
Try $config['smtp_host']='localhost:25'
Title: Re: after upgrading from from 1.4.13. to 1.6.5, I can not send an email
Post by: linpi on November 16, 2023, 06:31:49 PM
thank's a lot, that was the answer.
The error message with STARTTLS was a bit confusing....