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

    Solved Cloudron 7.0.2: Mail log searches seem inconsistent, missing results

    Support
    mail eventlog
    3
    10
    302
    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.
    • d19dotca
      d19dotca last edited by girish

      Hello,

      I upgraded to 7.0.2 over the weekend, and am seeing the odd filtering issue for the mail logs which are making things a bit untrustworthy when searching.

      Example: I have two log entries with the To: being the same email address. I search for that email address, and only one log entry appears.

      755fe3e9-9c21-4821-9e4b-c75923b464b3-image.png

      4de208ee-6295-4041-99a7-a236ebee27f8-image.png

      In my limited testing so far on this issue, it seems the "Received" types aren't being shown, specifically, so the issue may be that it's not indexing "Received" message types.

      --
      Dustin Dauncey
      www.d19.ca

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @d19dotca last edited by

        @d19dotca mm, I can reproduce this easily. Looking into this.

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          This is fixed in the next patch release 7.0.3

          d19dotca 1 Reply Last reply Reply Quote 3
          • d19dotca
            d19dotca @girish last edited by

            @girish thank you! 🙏

            --
            Dustin Dauncey
            www.d19.ca

            1 Reply Last reply Reply Quote 0
            • d19dotca
              d19dotca last edited by

              Hi @girish - is it expected behaviour for the mail log to be cleared after upgrading from 7.0.2 to 7.0.3? I went to test out the fix but all the entries are missing now, as if it was cleared after the upgrade. Wanted to raise it in case it's unintended behaviour.

              --
              Dustin Dauncey
              www.d19.ca

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @d19dotca last edited by

                @d19dotca yes, the schema changed, so I took the easy route and cleared the existing event log (the events are stored in a sqlite database, so I nuked the old one and recreated it).

                As an aside, we now store the Message-Id in the event log. So, if you go to mail client -> view source of the mail and locate the Message-Id header, then you can search by that id to see info about the delivery process of that mail.

                d19dotca 1 Reply Last reply Reply Quote 4
                • d19dotca
                  d19dotca @girish last edited by

                  @girish Ah that's perfect! Thanks Girish! 🙂

                  --
                  Dustin Dauncey
                  www.d19.ca

                  1 Reply Last reply Reply Quote 0
                  • d19dotca
                    d19dotca last edited by d19dotca

                    @girish - I seem to be having this issue again, in-part.

                    I am searching the mail logs using the GUI for emails to and from a particular email address. I can see it in the list without searching, but when I use the search functionality suddenly no results exist.

                    Example:

                    If I see an email in the list that was sent from www.app@example.com to info@example.com, I then go to search for all instances so I search for info@example.com but zero results appear for those search terms. This is with all filters selected too, not limited in any way there. I see this issue too when searching only a partial term like info@ex or info@ or example.com. Right now I see this with one example in particular.

                    --
                    Dustin Dauncey
                    www.d19.ca

                    1 Reply Last reply Reply Quote 0
                    • d19dotca
                      d19dotca last edited by

                      @girish - I just found the issue! The search term I was using that kept failing only has a few results, and when I was searching I was on "page 2" of regular results. So it seems there's a bug when you manually flip pages and then use a search term where there aren't enough results to last to page 2 for example. With keeping the non-working search term, all I had to do was hit the Prev button to go back to page 1 and suddenly the few results were there.

                      --
                      Dustin Dauncey
                      www.d19.ca

                      nebulon 1 Reply Last reply Reply Quote 3
                      • nebulon
                        nebulon Staff @d19dotca last edited by

                        @d19dotca great catch! I was a bug in the client side code. It is fixed now and will be part of next release.

                        1 Reply Last reply Reply Quote 5
                        • First post
                          Last post
                        Powered by NodeBB