Hi,
I am trying to setup Sogo with multidomain support,
the main problem is that my virtualhost does not "instruct" sogod to use the
correct domain user source.
What am I missing in my setup ?
Thanks
Giovanni
--
users@sogo.nu
https://inverse.ca/sogo/lists
<VirtualHost *:80>
ServerName sogo.domain.dom
ServerAdmin webmas...@domain.dom
DocumentRoot /var/www/lib/sogo/www
Alias /SOGo.woa/WebServerResources/ \
/var/www/lib/sogo/www/
Alias /SOGo/WebServerResources/ \
/var/www/lib/sogo/www/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
/var/www/lib/sogo/$1.SOGo/Resources/$2
<LocationMatch
"^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)">
SetHandler default-handler
</LocationMatch>
ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPass /SOGo http://127.0.0.1:20000/SOGo
ProxyPassReverse /SOGo http://127.0.0.1:20000/SOGo
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "sogo.domain.dom"
RequestHeader set "x-webobjects-server-url" "http://sogo.domain.dom"
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
RequestHeader set "x-webobjects-remote-host" "sogo.domain.dom"
AddDefaultCharset UTF-8
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]
Redirect permanent /index.html http://sogo.domain.dom/SOGo
ErrorLog logs/sogo.domain.dom_err.log
CustomLog logs/sogo.domain.dom_access.log combined
</VirtualHost>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml">
<plist version="0.9">
<dict>
<key>NSGlobalDomain</key>
<dict>
<key></key>
<string></string>
</dict>
<key>sogo.domain.dom</key>
<dict>
<key>SOGoUserSources</key>
<array>
<dict>
<key>canAuthenticate</key>
<string>YES</string>
<key>id</key>
<string>directory</string>
<key>isAddressBook</key>
<string>YES</string>
<key>type</key>
<string>sql</string>
<key>userPasswordAlgorithm</key>
<string>crypt</string>
<key>viewURL</key>
<string>mysql://user:pass@localhost:3306/postfix/sogo_auth_domain_dom</string>
</dict>
</array>
</dict>
<key>sogod</key>
<dict>
<key>NGImap4ConnectionStringSeparator</key>
<string>.</string>
<key>OCSEMailAlarmsFolderURL</key>
<string>mysql://user:pass@localhost:3306/sogo/sogo_alarms_folder</string>
<key>OCSFolderInfoURL</key>
<string>mysql://user:pass@localhost:3306/sogo/sogo_folder_info</string>
<key>OCSSessionsFolderURL</key>
<string>mysql://user:pass@localhost:3306/sogo/sogo_sessions_folder</string>
<key>SOGoACLsSendEMailNotifications</key>
<string>NO</string>
<key>SOGoAppointmentSendEMailNotifications</key>
<string>NO</string>
<key>SOGoAuthenticationMethod</key>
<string>sql</string>
<key>SOGoDraftsFolderName</key>
<string>INBOX/Drafts</string>
<key>SOGoFirstDayOfWeek</key>
<string>1</string>
<key>SOGoFoldersSendEMailNotifications</key>
<string>NO</string>
<key>SOGoIMAPServer</key>
<string>localhost</string>
<key>SOGoLanguage</key>
<string>Italian</string>
<key>SOGoMailMessageCheck</key>
<string>every_5_minutes</string>
<key>SOGoMailingMechanism</key>
<string>smtp</string>
<key>SOGoMemcachedHost</key>
<string>127.0.0.1</string>
<key>SOGoPasswordChangeEnabled</key>
<string>YES</string>
<key>SOGoProfileURL</key>
<string>mysql://user:pass@localhost:3306/sogo/sogo_user_profile</string>
<key>SOGoSMTPServer</key>
<string>127.0.0.1</string>
<key>SOGoSentFolderName</key>
<string>INBOX/Sent</string>
<key>SOGoSpecialFoldersInRoot</key>
<string>NO</string>
<key>SOGoTimeZone</key>
<string>Europe/Rome</string>
<key>SOGoUserSources</key>
<array>
<dict>
<key>canAuthenticate</key>
<string>YES</string>
<key>id</key>
<string>directory</string>
<key>isAddressBook</key>
<string>YES</string>
<key>type</key>
<string>sql</string>
<key>userPasswordAlgorithm</key>
<string>crypt</string>
<key>viewURL</key>
<string>mysql://user:pass@localhost:3306/postfix/sogo_auth</string>
</dict>
</array>
<key>SOGoZipPath</key>
<string>/usr/local/bin/zip</string>
<key>WOLogFidefaults</key>
<string>write</string>
<key>WOLogFile</key>
<string>/var/log/sogo/sogod.log</string>
<key>WOPidFile</key>
<string>/var/sogo/sogod.pid</string>
<key>WOWorkersCount</key>
<string>4</string>
</dict>
</dict>
</plist>