roundcube/roundcubemail — pull request #14 by bes-internal (2012-07-26 15:04:44+00:00)
Title: use in parse_host HTTP_HOST for %d 

Use in parse_host function for domain resolve HTTP_HOST not hostname.
add %t for hostname without first part
For example roundcube box backend (rc.somedomain.tld) for reverse proxy on real domain (mail.example.com)