mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #31] Search broken #28
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yonas on GitHub (Jan 11, 2023).
Original GitHub issue: https://github.com/axllent/mailpit/issues/31
go version go1.19.4 freebsd/amd64
mailpit version:
47a556d05e@axllent commented on GitHub (Jan 11, 2023):
Thanks for the report.
This was briefly an issue before v1.2.8 which should have been fixed in early November last year.
Could you please provide me some more information @yonas ...
Do you currently have old emails in your database what may have been capture before v1.2.8?
If some of your captured mail was from < v1.2.8 then there isn't anything I can do about it unfortunately as the data was stored as a
nullwhen there was no From address, rather than an empty JSON object (this breaks the SQL JSON search which is the error you are seeing) :-( If it was captured in v1.3.5 recently, can you please provide me with a copy of the full email (even if you change the values) so I can test please - assuming you can work out which one it is?@yonas commented on GitHub (Jan 11, 2023):
Hi @axllent
No, this is a fresh install.
@axllent commented on GitHub (Jan 11, 2023):
@yonas Do you happen to know what email is causing this, and if so, are you able to provide me a copy of the raw email itself?
@yonas commented on GitHub (Jan 11, 2023):
@axllent
Here's a copy of the email. I sent it manually via telnet.
@axllent commented on GitHub (Jan 12, 2023):
Thanks for the feedback! From what I can tell, all emails should contain a
From:header - however the RFC documentation is very difficult to read and isn't crystal clear (to me) as to what exactly it should contain. Anyway, I was able to replicate the issue on my end following your instructions and have just pushed a fix for it to correctly index a missing From header. You'll find the fix in the latest release (v1.3.6).@yonas commented on GitHub (Jan 12, 2023):
Thanks @axllent , it works! 🥳