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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Virtual "all mails" folder in Dovecot to improve search

    Feature Requests
    2
    3
    246
    Loading More Posts
    • 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.
    • necrevistonnezr
      necrevistonnezr last edited by necrevistonnezr

      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 Reply Quote 3
      • girish
        girish Staff last edited by

        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 Reply Quote 1
        • girish
          girish Staff last edited by

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

          1 Reply Last reply Reply Quote 1
          • Referenced by  necrevistonnezr necrevistonnezr 
          • Referenced by  scooke scooke 
          • Referenced by  necrevistonnezr necrevistonnezr 
          • Referenced by  necrevistonnezr necrevistonnezr 
          • First post
            Last post
          Powered by NodeBB