Author Topic: Need to set SMTP variables now in 0.8.0?  (Read 3129 times)

Offline steveg_nh

  • Jr. Member
  • **
  • Posts: 23
Need to set SMTP variables now in 0.8.0?
« on: August 15, 2012, 09:39:57 PM »
I upgraded tonight from 0.7.1 to 0.8.0. Love it! Not sure if this is a problem, it could be part of the new version (perhaps it was actually an issue in the older versions).

But off the bat, after upgrading, I couldn't send mail. I was getting a config error. Well after some troubleshooting, I fixed it by setting the following variables in the main.inc.php config file:

$rcmail_config['smtp_server'] = 'localhost';

// SMTP port (default is 25; use 587 for STARTTLS or 465 for the
// deprecated SSL over SMTP (aka SMTPS))
$rcmail_config['smtp_port'] = 25;

// SMTP username (if required) if you use %u as the username Roundcube
// will use the current username for login
$rcmail_config['smtp_user'] = '%u';

// SMTP password (if required) if you use %p as the password Roundcube
// will use the current user's password for login
$rcmail_config['smtp_pass'] = '%p';

I never had to set these before though. In fact, for IMAP, server is just localhost and nothing more. But for me to send mail now, I had to specify the above variables. In 0.7.0, they were all blank.

Is this an expected change, or perhaps I did make a mistake when upgrading?

Thanks.