View Issue Details

IDProjectCategoryView StatusLast Update
0005503SOGoWeb Mailpublic2022-05-20 20:57
Reportermaxycay Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version18.04.4
Product Version5.5.1 
Summary0005503: SOGo logs out (close the window)
Description

SOGo logout from web mail.
In this case, the current letter (opened in a new window) is not saved. Users must have to re-enter their username and password for web mail to login.
Than it can be caused?

TagsNo tags attached.

Activities

maxycay

maxycay

2022-04-26 06:18

reporter   ~0015990

Any ideas?

Christian Mack

Christian Mack

2022-05-16 15:20

developer   ~0016058

Sessions expire as always.
Check your settings in /etc/cron.d/sogo
There is a line with

* * * * *      sogo    /usr/sbin/sogo-tool expire-sessions ...

Is that line commented out?
If not, which number is behind expire-sessions?
That number defines how long a session is valid without the user sending any input/request to the sogo server.
Default is 60 (minutes).
Therefore if a user is writing on that email more than 60 minutes he/she will be logged out.

After login you can find draft messages in the "Drafts" folder, therefore not loosing all that was written.
The intervall for writing drafts to the Drafts folder is set in "Settings" --> "Mail" --> "General" --> "Auto save every XXX minutes".
Default is 5 minutes.

war

war

2022-05-20 11:04

reporter   ~0016070

Last edited: 2022-05-20 11:53

Similar issue here:

When creating a new mail, the session is terminated exactly after 5 minutes.

It does not matter if one sends an event (key, mouse) before, the session is terminated.

There is no parameter to set the timeout systemwide or for individual users.

Workaround: Set the Autosave to 1min to regularly save drafts.

in /etc/cron.d/sogo it says:

# Session cleanup - runs every minute
#   - Ajust the nbMinutes parameter to suit your needs
# Example: Sessions without activity since 60 minutes will be dropped:
#* * * * *      sogo    /usr/sbin/sogo-tool expire-sessions 60 > /dev/null 2>&1

Session expiration is commented out, so this does not run.

The timeout must be handled somewhere differently.

Christian Mack

Christian Mack

2022-05-20 11:17

developer   ~0016072

You did run /usr/share/doc/sogo/sql-update-5.5.1_to_5.6.0.sh after upgrade?

maxycay

maxycay

2022-05-20 16:39

reporter   ~0016073

Last edited: 2022-05-20 20:12

After updating to version 5.6.0 the problem disappeared.
Also uncommented the line.

* * * * *      sogo /usr/sbin/sogo-tool expire-sessions 60 > /dev/null 2>&1

In any case, everything is fine now! Thanks!

Issue History

Date Modified Username Field Change
2022-04-22 10:00 maxycay New Issue
2022-04-26 06:18 maxycay Note Added: 0015990
2022-05-16 15:20 Christian Mack Note Added: 0016058
2022-05-20 11:04 war Note Added: 0016070
2022-05-20 11:17 Christian Mack Note Added: 0016072
2022-05-20 11:53 francis Note Edited: 0016070
2022-05-20 16:39 maxycay Note Added: 0016073
2022-05-20 20:12 francis Note Edited: 0016073
2022-05-20 20:57 francis Assigned To => francis
2022-05-20 20:57 francis Status new => closed
2022-05-20 20:57 francis Resolution open => no change required