I am running two domains on a single server and have the virtual host set for both domains but when trying to log into either domain with just the user portion of the email address it is checking this against the default domain not using the virtual host name for the domain specified in the URL.
Should this be working now?
Rich
I know this is not the best answer and it also doesn't have a "solution" per se, but it works on my deployments.
And all I can think about is:
1 - add virtualhosts to all domains;
2 - fix "Public Service Host Name" to be one of the virtualnames you're using for that domain
3 - restart the whole server
I know this is not the best answer and it also doesn't have a "solution" per se, but it works on my deployments.
And all I can think about is:
1 - add virtualhosts to all domains;
2 - fix "Public Service Host Name" to be one of the virtualnames you're using for that domain
3 - restart the whole server
So this is working on your Carbonio deployments? I will give it a try, Thanks!
I just tried this - I set the public service hostname to match the name that is used to access the server on each domain and then created a virtual host with the same name. Virtual hosts have Let's Encrypt certificates.
When I go to the login for one of the domains I still need to put the @domain in or it will not let me log in. When I do append the domain it works as expected.
So for example - two domains are exampleA.com and exampleB.com
For exampleA.com I set the Public Service Hostname (PSH) to mail.examplea.com (and DNS resolves for this) and then under virtual hosts and certificates I created mail.examplea.com and got a Let's Encrypt certificate for it.
For exampleB.com I did the same thing - set the PSH to mail.exampleb.com and created the virtual host mail.exampleb.com then got a certificate.
Rebooted the entire server and then going to mail.exampleA.com I get the login and I try to login with just the username and it says invalid. I add @exampleA.com to the username and it works.
Do you see anything I did wrong?
Thanks,
Rich
Anyone? I really need this to work properly.
So by putting a 50 character minimum on the content of a post you just ensure that people will add junk that means nothing to exceed the 50 characters.. so might as well turn it off. 🙂
I honestly can't see anything wrong on your setups... I do it exactly as you described and it's working flawlessly.
@rwebb616 if you have multiple domains/vhosts, you should always use the full email address, including the domain portion, despite what's written on the docs and on the AP. We're fixing this right now.
(There are technical reasons for this current behaviour, but in the future we might change it)
@rwebb616 if you have multiple domains/vhosts, you should always use the full email address, including the domain portion, despite what's written on the docs and on the AP. We're fixing this right now.
(There are technical reasons for this current behaviour, but in the future we might change it)
I hope it changes because without it there is no point to having Virtual Hosting. People don't want to have to type their entire domain name when logging in especially if they have a super long domain name. This has been a part of Zimbra since the beginning - I would hope Carbonio follows suit.