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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Cloudron 7.0.2: Mail log searches seem inconsistent, missing results

Scheduled Pinned Locked Moved Solved Support
maileventlog
10 Posts 3 Posters 355 Views
    • 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.
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by girish
    #1

    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

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to d19dotca on last edited by
    #2

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

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

    This is fixed in the next patch release 7.0.3

    d19dotcaD 1 Reply Last reply
    3
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    replied to girish on last edited by
    #4

    @girish thank you! 🙏

    --
    Dustin Dauncey
    www.d19.ca

    1 Reply Last reply
    0
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by
    #5

    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

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to d19dotca on last edited by
    #6

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

    d19dotcaD 1 Reply Last reply
    4
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    replied to girish on last edited by
    #7

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

    --
    Dustin Dauncey
    www.d19.ca

    1 Reply Last reply
    0
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by d19dotca
    #8

    @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
    0
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by
    #9

    @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

    nebulonN 1 Reply Last reply
    3
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    replied to d19dotca on last edited by
    #10

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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.