How to stop Roundcube session ending when I close my laptop lid?
-
@jdaviescoates Yeah, Alexander is not very helpful - though you gave him a location for the config that is non-standard and Cloudron specific (/app/data/ something).
Again, I use Roundcube everyday on my work computer and the session is kept alive even between reboots with the config described above...
Is it browser related (is it Firefox?) - maybe try a different one? A setting that deletes cookies from time to time? -
@jdaviescoates Facing same issue.
-
I just played around with this again and this seems to be working for me:
$config['session lifetime'] = '10080';
It's unclear if
$rcconfig
or just$config
should be used or if either would work, but the latter, i.e. just$config
, appears to be working for me.Also in previous attempts I was missing the
'
s around the10080
, and from the formatting of other settings in thecustomconfig.php
I figured I'd try'10080'
and then it worked. -
-
-
@jdaviescoates
$config
is the correct variable name. -
@girish said in How to stop Roundcube session ending when I close my laptop lid?:
@jdaviescoates
$config
is the correct variable name.Well, for some values, it seems that
$rcmail_config
is correctā¦As said before, for me
$rcmail_config['session_lifetime'] = 10080;
works?!
-
@necrevistonnezr said in How to stop Roundcube session ending when I close my laptop lid?:
Well, for some values, it seems that $rcmail_config is correctā¦
I just looked up roundcube code and it seems $rcmail_config and $config are just aliases. https://github.com/roundcube/roundcubemail/blob/01b7dbd1a75bd712f4cac69f5aa421b049dd5d8b/program/include/rcmail_install.php#L159 says $rcmail_config is the deprecated name.
-
-
@jdaviescoates said in How to stop Roundcube session ending when I close my laptop lid?:
I just played around with this again and this seems to be working for me:
$config['session lifetime'] = '10080';
It's unclear if
$rcconfig
or just$config
should be used or if either would work, but the latter, i.e. just$config
, appears to be working for me.Also in previous attempts I was missing the
'
s around the10080
, and from the formatting of other settings in thecustomconfig.php
I figured I'd try'10080'
and then it worked.This was previously marked as the solution, but that hasn't done it either. Think I'm gonna have to give up on this one
@jdaviescoates said in How to stop Roundcube session ending when I close my laptop lid?:
Sigh. The state of open source webmail is so abysmal
You can say that again! Recent updates to Roundcube have broken logging in without an error and the CalDAV connection.
-
@jdaviescoates said in How to stop Roundcube session ending when I close my laptop lid?:
You can say that again! Recent updates to Roundcube have broken logging in without an error and the CalDAV connection.
I have neither of these issues on current Roundcube with Safari or Edge. No errors logging in and Iām staying logged in. What browser are you using?
-
@necrevistonnezr said in How to stop Roundcube session ending when I close my laptop lid?:
What browser are you using?
Firefox. But pretty sure I've tested in Chromium before too.
The other issues have been resolved by updated the CalDAV plugin but I still get logged out of email whenever I close my laptop lid.
-
@jdaviescoates Sorry, but Firefox is not what it used to be (or the web has changed) - I gave up on Firefox due to so many sites not loading, not being compatible or other issues. Might be their strict default privacy and container settings.
-
-
@necrevistonnezr said in How to stop Roundcube session ending when I close my laptop lid?:
@jdaviescoates Sorry, but Firefox is not what it used to be (or the web has changed) - I gave up on Firefox due to so many sites not loading, not being compatible or other issues. Might be their strict default privacy and container settings.
That's it! (I think)
I just clicked on the little shield on the far left of the address bar and toggled
Enhanced Tracking Protection is ON for this site
toEnhance Tracking Protection is OFF for this site
Then I closed down Firefox and all my other apps and restarted my machine. Open up Firefox and I'm still logged in. Hopefully it'll now stay that way!
Thanks!
-
-
@jdaviescoates said in How to stop Roundcube session ending when I close my laptop lid?:
Hopefully it'll now stay that way!
It hasn't
But it's still WAY better than it was before.
-
@jdaviescoates I added the url to the exception rules in FF (privacy & security section) and that didn't help either. I tried using Brave instead, no luck with that either.
-
@humptydumpty yeah, I'm now leaning towards giving up on Roundcube and moving to SnappyMail instead as that doesn't seem to have this problem (and is nice and snappy too! and the CardDAV integration stuff is out of the box instead of having to install a plugin for Roundcube)
-
@jdaviescoates I might end up doing the same
-
@jdaviescoates I always come back to Roundcube as Snappymail does not do full text search and hence is useless for me. Also sender aliases are much easier to set up in Roundcube.
-
@necrevistonnezr said in How to stop Roundcube session ending when I close my laptop lid?:
Also sender aliases are much easier to set up in Roundcube.
Eh? It's easy as pie in Snappy.. just add another identity fill in two fields and done.
-
This post is deleted!
-
@robi said in How to stop Roundcube session ending when I close my laptop lid?:
@necrevistonnezr said in How to stop Roundcube session ending when I close my laptop lid?:
Also sender aliases are much easier to set up in Roundcube.
Eh? It's easy as pie in Snappy.. just add another identity fill in two fields and done.
True, I remembered that wrong. Though you cannot use a different domain / SMTP server, I believe.
And to clarify regarding full text search: You can search for message content, but not across folders(!).
See also https://forum.cloudron.io/topic/6391/virtual-all-mails-folder-in-dovecot-to-improve-search/