Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Roundcube
  3. How to stop Roundcube session ending when I close my laptop lid?

How to stop Roundcube session ending when I close my laptop lid?

Scheduled Pinned Locked Moved Solved Roundcube
39 Posts 8 Posters 6.6k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • necrevistonnezrN necrevistonnezr

    @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?!

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #24

    @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.

    1 Reply Last reply
    2
    • jdaviescoatesJ jdaviescoates marked this topic as a regular topic on
    • jdaviescoatesJ jdaviescoates

      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 the 10080, and from the formatting of other settings in the customconfig.php I figured I'd try '10080' and then it worked.

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #25

      @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 the 10080, and from the formatting of other settings in the customconfig.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. ๐Ÿ˜ข

      I use Cloudron with Gandi & Hetzner

      necrevistonnezrN 1 Reply Last reply
      0
      • jdaviescoatesJ jdaviescoates

        @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 the 10080, and from the formatting of other settings in the customconfig.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. ๐Ÿ˜ข

        necrevistonnezrN Offline
        necrevistonnezrN Offline
        necrevistonnezr
        wrote on last edited by
        #26

        @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?

        jdaviescoatesJ 1 Reply Last reply
        1
        • necrevistonnezrN necrevistonnezr

          @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?

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #27

          @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.

          I use Cloudron with Gandi & Hetzner

          necrevistonnezrN 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            @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.

            necrevistonnezrN Offline
            necrevistonnezrN Offline
            necrevistonnezr
            wrote on last edited by
            #28

            @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.

            1 Reply Last reply
            3
            • jdaviescoatesJ jdaviescoates marked this topic as a question on
            • jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #29

              @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 to Enhance Tracking Protection is OFF for this site

              Screenshot from 2022-08-09 23-02-48.png

              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!

              I use Cloudron with Gandi & Hetzner

              jdaviescoatesJ 1 Reply Last reply
              5
              • jdaviescoatesJ jdaviescoates has marked this topic as solved on
              • jdaviescoatesJ jdaviescoates

                @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 to Enhance Tracking Protection is OFF for this site

                Screenshot from 2022-08-09 23-02-48.png

                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!

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #30

                @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.

                I use Cloudron with Gandi & Hetzner

                humptydumptyH 1 Reply Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  @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.

                  humptydumptyH Offline
                  humptydumptyH Offline
                  humptydumpty
                  wrote on last edited by
                  #31

                  @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.

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • humptydumptyH humptydumpty

                    @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.

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #32

                    @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)

                    I use Cloudron with Gandi & Hetzner

                    humptydumptyH necrevistonnezrN 2 Replies Last reply
                    1
                    • jdaviescoatesJ jdaviescoates

                      @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)

                      humptydumptyH Offline
                      humptydumptyH Offline
                      humptydumpty
                      wrote on last edited by
                      #33

                      @jdaviescoates I might end up doing the same ๐Ÿ™‚

                      1 Reply Last reply
                      1
                      • jdaviescoatesJ jdaviescoates

                        @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)

                        necrevistonnezrN Offline
                        necrevistonnezrN Offline
                        necrevistonnezr
                        wrote on last edited by
                        #34

                        @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.

                        robiR 1 Reply Last reply
                        1
                        • necrevistonnezrN necrevistonnezr

                          @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.

                          robiR Offline
                          robiR Offline
                          robi
                          wrote on last edited by
                          #35

                          @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.

                          Conscious tech

                          necrevistonnezrN 2 Replies Last reply
                          1
                          • robiR robi

                            @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.

                            necrevistonnezrN Offline
                            necrevistonnezrN Offline
                            necrevistonnezr
                            wrote on last edited by necrevistonnezr
                            #36
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • robiR robi

                              @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.

                              necrevistonnezrN Offline
                              necrevistonnezrN Offline
                              necrevistonnezr
                              wrote on last edited by necrevistonnezr
                              #37

                              @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/

                              jdaviescoatesJ 1 Reply Last reply
                              1
                              • necrevistonnezrN necrevistonnezr

                                @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/

                                jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by
                                #38

                                @necrevistonnezr said in How to stop Roundcube session ending when I close my laptop lid?:

                                cannot use a different domain

                                You can. Right now I've got both uniteddiversity.coop and bettermedia.uk addresses set-up in Snappy (but yeah, both domains are connected to the same Cloudron)

                                @necrevistonnezr said in How to stop Roundcube session ending when I close my laptop lid?:

                                You can search for message content, but not across folders(!).

                                Yeah, I've noticed that, a bit of pain. Think perhaps I'll create an issue on SnappyMail github about it...

                                I use Cloudron with Gandi & Hetzner

                                necrevistonnezrN 1 Reply Last reply
                                0
                                • jdaviescoatesJ jdaviescoates

                                  @necrevistonnezr said in How to stop Roundcube session ending when I close my laptop lid?:

                                  cannot use a different domain

                                  You can. Right now I've got both uniteddiversity.coop and bettermedia.uk addresses set-up in Snappy (but yeah, both domains are connected to the same Cloudron)

                                  @necrevistonnezr said in How to stop Roundcube session ending when I close my laptop lid?:

                                  You can search for message content, but not across folders(!).

                                  Yeah, I've noticed that, a bit of pain. Think perhaps I'll create an issue on SnappyMail github about it...

                                  necrevistonnezrN Offline
                                  necrevistonnezrN Offline
                                  necrevistonnezr
                                  wrote on last edited by necrevistonnezr
                                  #39

                                  @jdaviescoates said in How to stop Roundcube session ending when I close my laptop lid?:

                                  Yeah, I've noticed that, a bit of pain. Think perhaps I'll create an issue on SnappyMail github about it...

                                  I did already some time ago: https://github.com/the-djmaze/snappymail/issues/196 (was linked above)
                                  For that we need the Dovecot Virtual Folder @girish mentioned in the other thread

                                  1 Reply Last reply
                                  2
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Bookmarks
                                  • Search