Line 66:
Line 66:
signal-event sogo-modify;
signal-event sogo-modify;
/etc/rc7.d/S85sogod restart
/etc/rc7.d/S85sogod restart
+
=== Timeout issue ===
+
+
Once you have installed SOGo you may find that there is a timeout issue in that SOGo keeps logging you out. To stop this, you will need to add the following line to the .GNUstepDefaults file:
+
+
OCSSessionsFolderURL = "mysql://sogo:{$sogod{'DbPassword'}}@localhost/sogo/sogo_sessions_folder";
+
+
To do this you need to edit the following file in your favourite editor (the code below uses vi):
+
mkdir -p /etc/e-smith/templates-custom/home/sogo/GNUstep/Defaults/.GNUstepDefaults
+
cp /etc/e-smith/templates/home/sogo/GNUstep/Defaults/.GNUstepDefaults/10defaults /etc/e-smith/templates-custom/home/sogo/GNUstep/Defaults/.GNUstepDefaults/10defaults
+
vi /etc/e-smith/templates-custom/home/sogo/GNUstep/Defaults/.GNUstepDefaults/10defaults
+
+
I would put it under the SOGoProfileURL = "mysql://sogo:{$sogod{'DbPassword'}}@localhost/sogo/sogo_user_profile"; line.
+
+
Or you can use this command:
+
sed -i '/SOGoProfileURL/ a\ OCSSessionsFolderURL = "mysql://sogo:{$sogod{'DbPassword'}}@localhost/sogo/sogo_sessions_folder"; ' /etc/e-smith/templates-custom/home/sogo/GNUstep/Defaults/.GNUstepDefaults/10defaults
+
+
Once saved, then execute the following commands:
+
+
signal-event sogo-modify;
+
/etc/rc7.d/S85sogod restart
+
+
Hopefully now you will no longer experience the time-out issue.