Url rewrite

We recently migrated from our old server, mail-1.colo.company.com (company.com used as john doe eq) to our new server in our new colo, mail-101.colo.company.com. With our old server, we had webmail.company.com pointed to it with a matching certificate and everthing. It worked great. Then after the migration, it all worked great except once you connected to webmail.company.com, it would redirect you to mail-101.colo.company.com which is not an externally-accessible DNS name for our company.


I contacted Zimbra support and we worked through a lot of the settings and everything looked good. Ultimately the solution was this:

zmlocalconfig | grep zimbra_auth_always_send_refer

If it is set to "true", let's set it to false;

zmlocalconfig -e zimbra_auth_always_send_refer=false


Problem solved, yay! Now when I log-in to webmail.company.com, it stays at webmail.company.com and doesn't redirect to the machine's hostname. I couldn't find this anywhere so I hope this brief note helps someone out.


Verified Against: unknown Date Created: 10/11/2007
Article ID: https://wiki.zimbra.com/index.php?title=Url_rewrite Date Modified: 2015-03-24



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search