Koozali.org: home of the SME Server

Change https://<domain-name>.tld/webmail to https://mail.<domain-name>.tld

Offline byte

  • *
  • 2,183
  • +2/-0
Has anyone changed their /webmail address to another url, for example I would actually prefer to type "https://mail.<domain-name>.tld - There are a few ways I've thought about how I could achieve this with RewriteRules being one.

I'd be interested to know if any others have changed their default webmail url.

Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Has anyone changed their /webmail address to another url, for example I would actually prefer to type "https://mail.<domain-name>.tld - There are a few ways I've thought about how I could achieve this with RewriteRules being one.

I'd be interested to know if any others have changed their default webmail url.

Thanks.
You could custom template VirtualHosts/30WebmailAliases to include a filter to only configure webmail for the domain you desire. A additional Rewrite rule directing / to /webmail/ for that domain should do the trick, if you want to access it at the root URL I guess.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)