Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Charles So on March 25, 2009, 10:23:33 AM

Title: Cannot use other ports for SMTP
Post by: Charles So on March 25, 2009, 10:23:33 AM
Hi folks,

I need to use other than 25 and 465 for connecting to SMTP server. I've tried to set it to something else in main.inc.php, but the Send Test Mail function will never complete when the installation is at Step 3.

BTW, the IMAP function is working fine tho.

Is there anything that I need to do?

Charles
Title: Cannot use other ports for SMTP
Post by: JohnDoh on March 25, 2009, 10:32:48 AM
you should be able to set it to any port you like. may be there is a bug in the installer - i cant check right now. could you paste the relevent bit of your config?
Title: Cannot use other ports for SMTP
Post by: Charles So on March 25, 2009, 10:54:03 AM
Quote from: JohnDoh;18027you should be able to set it to any port you like. may be there is a bug in the installer - i cant check right now. could you paste the relevent bit of your config?

Here it is:

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

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

After a lengthy period of time, it prints out this error msg:
Trying to send email...
SMTP send:  NOT OK(Authentication failure: STARTTLS failed (Code: ))


The server doesn't need TLS connection. How can I turn it off?
Title: Cannot use other ports for SMTP
Post by: rosali on March 25, 2009, 11:31:40 AM
Is port 2525 open on '' ? My be port is blocked by a firewall.

You could check by telenet on command line:

telnet server_name 2525
Title: Cannot use other ports for SMTP
Post by: Charles So on March 25, 2009, 11:35:27 AM
Quote from: rosali;18035Is port 2525 open on '' ? My be port is blocked by a firewall.

You could check by telenet on command line:

telnet server_name 2525

yes, it is open. Currently my Squirrelmail installation and native mail client are connecting to it without problem.

The server doesn't need TLS... but it seems that roundcube is using it to connect to .
Title: Cannot use other ports for SMTP
Post by: Charles So on March 25, 2009, 11:37:07 PM
Quote from: Charles So;18036yes, it is open. Currently my Squirrelmail installation and native mail client are connecting to it without problem.

The server doesn't need TLS... but it seems that roundcube is using it to connect to .
Can anyone help? What other info should I provide to assist the troubleshooting?