Roundcube Community Forum

 

default IMAP port ignored

Started by prisma, July 16, 2010, 11:33:16 AM

Previous topic - Next topic

prisma

Hello,

the configured default IMAP ports seem to be ignored and the build-in predefined port is used.

Here's my config:
RC: Lates stable version
Mailserver: Local Network, HMailServer, NAT Firewall redirects ext. 30993 to int. 993
Webserver: Ubuntu server


$rcmail_config
['default_host'] = 'ssl://dummy.dyndns.org';
// TCP port used for IMAP connections
$rcmail_config['default_port'] = 30993;


The login isn't working. The IMAP Server was not reachable. If I change the port-rederection of my local firewall from 30993->993 to 993->993 WITHOUT changing the RC config seen above, login is successful. So RC is definitely able to connect, but it tries only 993.

I NOW that RC tries 143 instead of 993 if openSSL isn't installed, and so on. But SSL is working (993 successful). Possibly RC tries the standard IMAPS port if the configured port isn't reachable, but the port IS reachable. I tested it with "telnet dummy.dyndns.org 30993"

So what's my configuring fault, or is it a (not) known bug?

JohnDoh

give this a try:$rcmail_config['default_host'] = 'ssl://dummy.dyndns.org:30993';
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

prisma

Your work-around works, but it's an evil bug!! It costs me 1 hour to make sure that it isn't my fault or a misconfiguration.

$rcmail_config['default_port'] = 30993;

...is definitely ignored! Is this bug reported? How to report this bug?