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. Feature Requests
  3. Virtual "all mails" folder in Dovecot to improve search

Virtual "all mails" folder in Dovecot to improve search

Scheduled Pinned Locked Moved Solved Feature Requests
6 Posts 2 Posters 1.5k Views 2 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 Offline
      necrevistonnezrN Offline
      necrevistonnezr
      wrote on last edited by necrevistonnezr
      #1

      Based on the feedback I received to a request for Snappymail (https://github.com/the-djmaze/snappymail/issues/196) :

      The virtual folder must be configured in Dovecot and not through SnappyMail.
      The other is implemented and hopefully works when mailserver supports it.

      There is no other option as searching in multiple folders through php requires many calls to imap server and then results must be combined.
      Maybe in a future version with caching it might be done.

      I suggest adding the Virtual Folder plugin to Dovecot (https://doc.dovecot.org/configuration_manual/virtual_plugin/)

      This way, it seems to be possible to add a virtual "all mail" folder that allows (web) mail clients to search all mail at once as several don't seem to have implemented a account-wide search for mails.

      1 Reply Last reply
      3
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        Thanks for bringing this up, since I am interested in this as well. Annoys me to great extent that K-9 search does not work despite us adding solr support.

        Last I checked, I thought this was a client side limitation. They had to implement IMAP4 Multimailbox SEARCH Extension. But reading further, it seems dovecot doesn't support this.

        I found this really cool page saying which imap server supports what - https://www.imapwiki.org/Specs

        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          This whole thread is an interesting read - https://dovecot.org/pipermail/dovecot/2020-May/118823.html

          1 Reply Last reply
          1
          • necrevistonnezrN necrevistonnezr referenced this topic on
          • scookeS scooke referenced this topic on
          • necrevistonnezrN necrevistonnezr referenced this topic on
          • necrevistonnezrN necrevistonnezr referenced this topic on
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            For roundcube, we have a patch going at https://github.com/roundcube/roundcubemail/pull/9077 to make search all folders the default.

            1 Reply Last reply
            3
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              I went down the search rabbit hole on this one. Here's the blog post if you are interested - https://blog.cloudron.io/email-search-in-mail-clients/ .

              This will be part of 7.5.1

              1 Reply Last reply
              3
              • girishG girish marked this topic as a question on
              • girishG girish has marked this topic as solved on
              • necrevistonnezrN Offline
                necrevistonnezrN Offline
                necrevistonnezr
                wrote on last edited by necrevistonnezr
                #6

                It’s not a bug report per se, more an FYI: The virtual all mail folder throws off iOS / iPadOS Mails folder suggestions when moving or coping emails: Now, it always suggests to move to the “all mails” folder because it sees this folder as the one where the user has previously moved all its emails to, apparently.

                IMG_0468.jpeg

                1 Reply Last reply
                2
                • P p44 referenced this topic on
                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