1

Topic: Session timeout immediate

==== Required information ====
- iRedMail version: v1.8.2 (MySQL)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
Hi all ,
My users complain about webmail ( roundcube ) , after they login webmail auto logout immediate for many times . Could you tell me how to fix it ?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Session timeout immediate

Auto-logout immediately or after a few minutes?

Roundcube has default session lifetime set to 10 minutes, you can try to increase it:

// Session lifetime in minutes
$config['session_lifetime'] = 10;

BTW, next time, please always show us basic info of your iRedMail server, so that we can give you more detailed reply.

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====

3 (edited by iredm 2017-09-29 08:48:10)

Re: Session timeout immediate

Hey there,
i got a similar issue:

I get kicked out of roundcube in the same second I do login.
The timeout option you mentioned in /opt/www/roundcubemail/defaults.inc.php is set to default (10).

On the Iredadmin Login page i get an "Error: Session expired, please re-login." message, but it works perfectly after login.

==== Required information ====
- iRedMail version:
  Tonight (v iRedMail-0.9.7.tar.bz2 / 1.7.2017 )

- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
  LDAP

- Web server (Apache or Nginx):
  Apache (i saw the iredadmin session error on Nginx as well)

- Linux/BSD distribution name and version: Debian 9.1 Stretch, fresh installed

- Related log if you're reporting an issue:
  there was none, or am I missing it ? (Apache Err / Access Log was just fine)
====
Pardon for not handing out logins - my boss would kill me wink
Greetings

4

Re: Session timeout immediate

*) Was your laptop/desktop IP address changed frequently?
*) Any related log in Roundcube log file? FYI: http://www.iredmail.org/docs/file.locations.html