Author Topic: bug(?)  (Read 2402 times)

Offline dmz

  • Newbie
  • *
  • Posts: 1
bug(?)
« on: January 08, 2008, 04:02:13 AM »
hi,
i cannot send emails to recipients in other domains.i'm getting "failed to send message". in my domain everything seem to be ok.

the odd thing is that from the squirremail (from the same imap account) i can send those emails easly, and they GET to recipients normally, so this is not imap server error. probably it's my fault with the configuration of the rc.
i'm using imap server with ssl

have you any conf. file as example?

thx for your attention and help
dmz

Offline Syfox

  • Newbie
  • *
  • Posts: 5
Re: bug(?)
« Reply #1 on: February 21, 2008, 11:21:01 AM »
After paying around with main.inc.php, this is what worked for me:

Code: [Select]
// use this host for sending mails.
// to use SSL connection, set ssl://smtp.host.com
// if left blank, the PHP mail() function is used
$rcmail_config['smtp_server'] = '127.0.0.1';

// SMTP port (default is 25; 465 for SSL)
$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'] = '';

// 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'] = '';

// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['smtp_auth_type'] = 'PLAIN';

Note how the server is 127.0.0.1 and auth_type is PLAIN