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
  • Brite
  • 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. Support
  3. Searching emails by email address doesn't work :(

Searching emails by email address doesn't work :(

Scheduled Pinned Locked Moved Solved Support
mailsearch
20 Posts 4 Posters 1.2k Views 4 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.
  • girishG girish

    @jdaviescoates right, it's set for indexing words of max of 20 letters. Didn't occur to me email addresses will be single words... Let me see if this can be bumped and what the implications are.

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

    @girish said in Searching emails by email address doesn't work 😞:

    @jdaviescoates right, it's set for indexing words of max of 20 letters.

    😨 😨
    Does that mean words with over 20 characters are not found? If so, I did not know that and relied on the index - i.e. assumed I didn’t have an email if the (index based) search does not yield results! This would be very bad.

    Please remove such limits (if possible) as e.g. the German language has many words over 20 characters.
    If you keep limits, we need to communicate them clearly in the docs AND in the UI, I think.

    1 Reply Last reply
    1
    • girishG girish

      Note that if you had just enabled solr before you searched, it can take a while for solr to complete indexing all your existing emails.

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

      @girish said in Searching emails by email address doesn't work 😞:

      Note that if you had just enabled solr before you searched, it can take a while for solr to complete indexing all your existing emails.

      I've had it enabled since we've had Solr on Cloudron, so that's not the problem.

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • girishG girish

        @jdaviescoates strange.. So, I can't reproduce this. Tried with some really long words. The EdgeNGramFilterFactory max setting is for the size of the prefixes and not for search length. So, that size is actually fine.

        image.png

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

        @girish said in Searching emails by email address doesn't work 😞:

        Tried with some really long words.

        I thought "OK, but you're searching for body text in an email, I'm search for the senders email address".

        But I just tested sending myself an email with admin@sustianablebridport.com in the body and mine fails to find that too. It still only finds it if I search either for:

        text=admin@sustainablebridport.

        Again, if I have anything after the . it doesn't find it

        But

        text=josef@open.com

        Works

        I use Cloudron with Gandi & Hetzner

        jdaviescoatesJ 1 Reply Last reply
        0
        • jdaviescoatesJ jdaviescoates

          @girish said in Searching emails by email address doesn't work 😞:

          Tried with some really long words.

          I thought "OK, but you're searching for body text in an email, I'm search for the senders email address".

          But I just tested sending myself an email with admin@sustianablebridport.com in the body and mine fails to find that too. It still only finds it if I search either for:

          text=admin@sustainablebridport.

          Again, if I have anything after the . it doesn't find it

          But

          text=josef@open.com

          Works

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

          @jdaviescoates said in Searching emails by email address doesn't work 😞:

          text=admin@sustainablebridport.

          Again, if I have anything after the . it doesn't find it

          This works on a newer install of Cloudron, so perhaps I need to migrate my older install as per https://docs.cloudron.io/guides/mailbox-sharing/#background ?

          I use Cloudron with Gandi & Hetzner

          jdaviescoatesJ 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            @jdaviescoates said in Searching emails by email address doesn't work 😞:

            text=admin@sustainablebridport.

            Again, if I have anything after the . it doesn't find it

            This works on a newer install of Cloudron, so perhaps I need to migrate my older install as per https://docs.cloudron.io/guides/mailbox-sharing/#background ?

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

            @jdaviescoates said in Searching emails by email address doesn't work 😞:

            @jdaviescoates said in Searching emails by email address doesn't work 😞:

            text=admin@sustainablebridport.

            Again, if I have anything after the . it doesn't find it

            This works on a newer install of Cloudron, so perhaps I need to migrate my older install as per https://docs.cloudron.io/guides/mailbox-sharing/#background ?

            Nope, it's not that.

            I just checked my /home/yellowtent/boxdata/mail/dovecot/config.ini and I've already got:

            namespace_separator=/
            

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            0
            • jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by jdaviescoates
              #15

              I thought perhaps the difference with a newer server where it works might be that I don't have Solr enabled on that... and so I tried disabling Solr... but a few moments later it re-enables itself!

              I use Cloudron with Gandi & Hetzner

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

                @jdaviescoates I think the setting issue is fixed with https://git.cloudron.io/cloudron/box/-/commit/1afa2e87ec93881ebcd1f79d83d4477467b40770 . After changing the setting, manually restart the mail container (from services view) as a workaround. Fix is in the next release.

                jdaviescoatesJ 1 Reply Last reply
                1
                • girishG girish

                  @jdaviescoates I think the setting issue is fixed with https://git.cloudron.io/cloudron/box/-/commit/1afa2e87ec93881ebcd1f79d83d4477467b40770 . After changing the setting, manually restart the mail container (from services view) as a workaround. Fix is in the next release.

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

                  @girish said in Searching emails by email address doesn't work 😞:

                  Fix is in the next release.

                  Presumably this is the fix to Solr re-starting itself?

                  Cool, thanks. I've try again once the updated has been rolled out.

                  Still unsure/ unclear if/ why Solr would effect this simple matter of searching by email address though?

                  I use Cloudron with Gandi & Hetzner

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

                    The fix is for solr showing the incorrect status. Let's re-test once the update is out.

                    1 Reply Last reply
                    1
                    • jamesJ Offline
                      jamesJ Offline
                      james
                      Staff
                      wrote on last edited by
                      #19

                      Hello @jdaviescoates
                      Did you ever come back to this issue?

                      jdaviescoatesJ 1 Reply Last reply
                      1
                      • jamesJ james

                        Hello @jdaviescoates
                        Did you ever come back to this issue?

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

                        @james I can't presently reproduce the issue I had previously so I guess this is solved.

                        I use Cloudron with Gandi & Hetzner

                        1 Reply Last reply
                        1
                        • jamesJ james has marked this topic as solved 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