Den 27. juli 2015 17:17, skrev Steve Ankeny:
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
I have never used Objective-C, .WO nor .WOX templates, and I have no
idea what variables are available in the template context. Searching the
sogo templates I found `page.context.uri` used one place. The
documentation looks pretty sparse, but I will give it a try :).
Regards
--
Nils Fredrik Gjerull
-----------------------------
"Ministry of Eternal Affairs"
Computer Department
( Not an official title :) )
--
[email protected]
https://inverse.ca/sogo/lists