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?
give this a try:$rcmail_config['default_host'] = 'ssl://dummy.dyndns.org:30993';
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?
I reported this bug. See:
Ticket #1486864 (Default IMAP port ignored) (http://trac.roundcube.net/ticket/1486864)