Hello,
I am encountering the problem that I have set the SESSION_LIFETIME in data/web/inc/vars.local.inc.php
to 10 hours, i.e. 36000 seconds, but this does not seem to work.
File:
<?php
$MAILCOW_APPS = array(
);
$autodiscover_config = array(
// General autodiscover service type: "activesync" or "imap"
// emClient uses autodiscover, but does not support ActiveSync. mailcow excludes emClient from ActiveSync.
'autodiscoverType' => 'imap',
// If autodiscoverType => activesync, also use ActiveSync (EAS) for Outlook desktop clients (>= Outlook 2013 on Windows)
// Outlook for Mac does not support ActiveSync
'useEASforOutlook' => 'no',
// Please don't use STARTTLS-enabled service ports in the "port" variable.
// The autodiscover service will always point to SMTPS and IMAPS (TLS-wrapped services).
// The autoconfig service will additionally announce the STARTTLS-enabled ports, specified in the "tlsport" variable.
'imap' => array(
'server' => $mailcow_hostname,
'port' => array_pop(explode(':', getenv('IMAPS_PORT'))),
'tlsport' => NULL,
),
'smtp' => array(
'server' => $mailcow_hostname,
'port' => array_pop(explode(':', getenv('SMTPS_PORT'))),
'tlsport' => NULL,
),
'pop3' => array(
'server' => NULL,
'port' => NULL,
'tlsport' => NULL,
),
'activesync' => array(
'url' => NULL,
),
'caldav' => array(
'server' => $mailcow_hostname,
'port' => $https_port,
),
'carddav' => array(
'server' => $mailcow_hostname,
'port' => $https_port,
),
);
$SESSION_LIFETIME = 36000;
// Change default language
$DEFAULT_LANG = 'de-de';
Specifically, I only want to have to log in once in the morning and then have 10 hours of rest. SOGo is used via the “login into webmail” button in the gui. After less than 3 hours approx. i am then kicked out of both sogo and mailcow although SESSION_LIFETIME is set to 10 hours. This applys to multipile users - not just me.
Is there any solution for this?
FYI: after changing the vars.local.inc.php file i restarted the entire stack using docker compose down; docker compose up -d
. I also defined other variables there, which work without any problems.
Thank you in advance!