On 07/27/2015 09:29 AM, Nils Fredrik Gjerull wrote:
Den 27. juli 2015 15:02, skrev Tanstaafl:
It sounds to me like he is running a single SOGo instance hosting
multiple email domains, and has unique URLs (ie, his reference to 'DNS')
for each email domain, and wants SOGo to be able to append a fqdn to the
end of the username based on the URL of the login page?

If I understand this correctly, I'd love to see this ability as well.

So, depending on if a user goes to:

https://sogo.example1.com/SOGo/so/
or
https://sogo.example2.com/SOGo/so/

and entered a username of user1

SOGo would pass "[email protected]" or "[email protected]" as the
login username to whatever the backend auth mechanism is using.

This is exactly what I have in mind :)

Regards


Does the other suggestion work?

https://lists.inverse.ca/sogo/arc/users/2015-07/msg00247.html

What you want to do is possible (auto select from a set of Sogo login domains, on a multi tenant multi DNS domain Sogo webmail server, based on http host header). The .WOX template file is a template based on Objective-C and with Objective-C you should be able to do anything, such as, in this case, get the http headers from the http request. Look for the http header called "Host". Verify that it's a valid dns domain that you're hosting the Sogo webmail for, and then set the login domain to that Host value.

Have a look here:
http://sope.opengroupware.org/en/docs/snippets/wox.html



--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to