On 15/06/11 12:00, Ludovic Marcotte wrote:
On 15/06/11 04:54, Julian Robbins wrote:
The Sogo server isn't under much of a load and has WOWorkers set to
5. We have approx 8 test users at the moment, so I don't think the
server is at fault.
Share your configuration. You must customize the SOGo Integrator so
please show the customizations you've done, together with your Apache
and SOGo configuration. If you also use updates.php, show that too.
Regards,
Hello Ludovic
Although we use Integrator, as yet I have made no changes to it that are
being pushed, so I am a little confused when you say '/You must
customize the SOGo Integrator so please show the customizations you've
done/', nor do I yet have an updates.php, (although I don't think this
matters). Perhaps the lack of customisations to Integrator is where my
problems lie .... ?
Here is the SOGo config:-
<?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>
</dict>
<key>sogod</key>
<dict>
<key>OCSEMailAlarmsFolderURL</key>
<string>mysql://root:******@127.0.0.1:3306/sogo/sogo_alarms_folder</string>
<key>OCSFolderInfoURL</key>
<string>mysql://root:******@127.0.0.1:3306/sogo/sogo_folder_info</string>
<key>OCSSessionsFolderURL</key>
<string>mysql://root:******@127.0.0.1:3306/sogo/sogo_sessions_folder</string>
<key>SOGoAppointmentSendEMailNotifications</key>
<string>YES</string>
<key>SOGoAppointmentSendEMailReceipts</key>
<string>NO</string>
<key>SOGoCalendarDefaultRoles</key>
<array>
<string>PublicViewer</string>
<string>ConfidentialDAndTViewer</string>
</array>
<key>SOGoContactsDefaultRoles</key>
<array>
<string>ObjectViewer</string>
<string>ObjectCreator</string>
</array>
<key>SOGoDraftsFolderName</key>
<string>INBOX/Drafts</string>
<key>SOGoEnablePublicAccess</key>
<string>YES</string>
<key>SOGoIMAPAclConformsToIMAPExt</key>
<string>YES</string>
<key>SOGoIMAPServer</key>
<string>****.q-par.com</string>
<key>SOGoLanguage</key>
<string>English</string>
<key>SOGoLoginModule</key>
<string>Calendar</string>
<key>SOGoMailDomain</key>
<string>q-par.com</string>
<key>SOGoMailingMechanism</key>
<string>smtp</string>
<key>SOGoProfileURL</key>
<string>mysql://root:*******@127.0.0.1:3306/sogo/sogo_user_profile</string>
<key>SOGoSMTPServer</key>
<string>****.q-par.com</string>
<key>SOGoSentFolderName</key>
<string>INBOX/Sent</string>
<key>SOGoSuperUsernames</key>
<array>
<string>julianr</string>
</array>
<key>SOGoTimeZone</key>
<string>Europe/London</string>
<key>SOGoTrashFolderName</key>
<string>INBOX/Trash</string>
<key>SOGoUserSources</key>
<array>
<dict>
<key>KindFieldName</key>
<string>description</string>
<key>MultipleBookingsFieldName</key>
<string>multiplebook</string>
<key>canAuthenticate</key>
<string>YES</string>
<key>displayName</key>
<string>SOGo Users</string>
<key>id</key>
<string>users</string>
<key>isAddressBook</key>
<string>YES</string>
<key>type</key>
<string>sql</string>
<key>userPasswordAlgorithm</key>
<string>md5</string>
<key>viewURL</key>
<string>mysql://root:******@127.0.0.1:3306/sogo/sogo_users</string>
</dict>
</array>
<key>WOWorkersCount</key>
<string>3</string>
</dict>
</dict>
</plist>
_/etc/apache2/conf.d/SOGO.conf _
Alias /SOGo.woa/WebServerResources/ \
/usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
/usr/lib/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
/usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2
<Directory /usr/lib/GNUstep/SOGo/>
AllowOverride None
Order deny,allow
Allow from all
</Directory>
<LocationMatch
"^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)">
SetHandler default-handler
</LocationMatch>
## Uncomment the following to enable proxy-side authentication, you will
then
## need to set the "SOGoTrustProxyAuthentication" SOGo user default to
YES and
## adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section
## below.
#<Location /SOGo>
# AuthType XXX
# Require valid-user
# SetEnv proxy-nokeepalive 1
# Allow from all
#</Location>
ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
# When using CAS, you should uncomment this and install
cas-proxy-validate.py
# in /usr/lib/cgi-bin to reduce server overloading
#
# ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
# <Proxy http://localhost/app/cas-proxy-validate.py>
# Order deny,allow
# Allow from your-cas-host-addr
# </Proxy>
ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
<Proxy http://127.0.0.1:20000/SOGo>
## adjust the following to your configuration
RequestHeader set "x-webobjects-server-port" "80"
RequestHeader set "x-webobjects-server-name" "sogo"
RequestHeader set "x-webobjects-server-url" "http://sogo"
## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
# RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e
env=REMOTE_HOST
AddDefaultCharset UTF-8
Order allow,deny
Allow from all
</Proxy>
## We use mod_rewrite to pass remote address to the SOGo proxy.
# The remote address will appear in SOGo's log files and in the X-Forward
# header of emails.
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]
We do use a proxy server here, but pc's aren't using it for sogo, they
will go directly instead to the sogo host.
--
Kind Regards,
Julian Robbins
--
users@sogo.nu
https://inverse.ca/sogo/lists