RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Pending Issues

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 08-10-2006, 11:45 PM
Registered User
 
Join Date: Aug 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Connection refused to SMTP

i'm very glad new beta 2 finally launch, but i have some issue with beta 2

when i try to sending email thru roundcube, there's always failed to send msg and i check error logs , i found this error

SMTP Error: SMTP error: Connection failed: Failed to connect socket: Connection refused
in /path/to/roundcube/program/steps/mail/sendmail.inc on line 253

when i try using PHP Mail() all going well. but i guess PHP Mail() isn't a good solution to sending an email thru webmail.

Please advice!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-26-2006, 12:26 PM
Registered User
 
Join Date: Aug 2006
Posts: 1
Downloads: 0
Uploads: 0
Default Re: Connection refused to SMTP

I have the exact same problem, using servage.net. I tried with "user@domain.tdl" instead of %u, and I have tried using all the different AUTH types, to no avail. Any suggestions?

// 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'] = 'smtp1.servage.net';

// SMTP port (default is 25; 465 for SSL)
$rcmail_config['smtp_port'] = 5190;

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

// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['smtp_auth_type'] = '';
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-27-2006, 01:09 PM
Registered User
 
Join Date: Aug 2006
Posts: 8
Downloads: 0
Uploads: 0
Default Re: Connection refused to SMTP

Does your smtp server require authentication?

In the config you have there it will try to log onto the SMTP server using the username and password that you logged into RoundCube.
If you don't normally have to have a username and password to send email - leave it blank -''.

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

Gary
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 09-06-2006, 10:37 PM
Registered User
 
Join Date: Aug 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Re: Connection refused to SMTP

i was able to resolve this problem by myself, if you install roundcube in your own server and using cPanel you can re-install exim and set,

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

if you use 127.0.0.1 or IP Address or Domain name (eg. smtp.blabla.com) , connection will refused but i found another issue if using " localhost " as smtp server, see below:

Received: from localhost ([127.0.0.1]:55212 ident=nobody)
by blablaserver.com with esmtpa (Exim 4.52)

all your msg will ident as " nobody " but i guess it isn't matter if oidentd not installed on your server or web hosting server.

Try it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 01-21-2007, 09:28 PM
Registered User
 
Join Date: Jan 2007
Posts: 2
Downloads: 0
Uploads: 0
Default Re: Connection refused to SMTP

Quote:
Originally Posted by syao
i'm very glad new beta 2 finally launch, but i have some issue with beta 2

when i try to sending email thru roundcube, there's always failed to send msg and i check error logs , i found this error

SMTP Error: SMTP error: Connection failed: Failed to connect socket: Connection refused
in /path/to/roundcube/program/steps/mail/sendmail.inc on line 253

when i try using PHP Mail() all going well. but i guess PHP Mail() isn't a good solution to sending an email thru webmail.

Please advice!
i just wanted to say that i had this same problem, and changing $rcmail_config['smtp_server'] to "ssl://localhost" worked for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 12:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community