In main.inc.php:
// enforce connections over https
// with this option enabled, all non-secure connections will be redirected.
// set the port for the ssl connection as value of this option if it differs from the default 443
would appear to indicate that if you set $rcmail_config['force_https'] to a port number, rather than to TRUE, it will redirect to HTTPS on that port. I can't seem to get it to work, however. Am I misunderstanding the instructions here?
It works fine (on 443) if I set it to TRUE. But if I set it to some other port, it doesn't seem to work. (I am LISTENing on the port, and it's open on the firewall.)
Any thoughts?