BUG: Roundube Virtualmin Bug! SMTP authoristaiton failed 250

1 post / 0 new
#1 Sun, 01/26/2014 - 10:26
sparticle

BUG: Roundube Virtualmin Bug! SMTP authoristaiton failed 250

There is a bug in the integration between roundcube and Virtualmin that has just bitten me and my customers. The only thing I have done recently is upgrade Webmin/Virtualmin. Roundcube stopped being able to send any mail from any of my domains.

It turned out to be this setting in main.inc.php in every hosted domain.

All mail is setup as secure so users have to authenticate via SSL/TLS. This has been the case since this server was installed.

However just yesterday/today I got email saying mail could not be sent. The following variables need setting correctly in main.inc.php in the roundcube/config directory. FROM $rcmail_config['smtp_server'] = 'localhost' $rcmail_config['smtp_port'] = '25' TO $rcmail_config['smtp_server'] = 'tls://localhost' $rcmail_config['smtp_port'] = '587'

All will then work. I have had to manually edit all main.inc.php files in every domain to get this working again.

I am loathe to upgrade any roundcube/webmin/virtualmin installs in case this breaks again. It did not matter whether the domain was on 0.8.6 or 0.9.5 I have no idea what these settings were before they were somehow changed but I had to change them all!

Happy to supply further information if it helps. My installs are very default apart from being secure.

Cheers Spart