New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search is broken/ useless #1096
Comments
It's not that it doesn't work at all for me. Some results are shown, but loads that ought to be, aren't. I'll investigate further when I find the time, but I'm fairly certain it isn't working as it should (because if it was search the subject field for the exact subject of the email I couldn't find would find that email). |
When logging is active, it should log something like: What does yours say? |
Hello, I am having the same problem, I found out that these emails, when you see the source are with broken encoding. |
Interesting. It seems your IMAP server can't decode base64 utf-8 text. I will test if Dovecot also has issues with them. |
Hello, I am having the same problem. |
Dovecot works fine. |
Sorry, I am not sure what do you mean by IMAP daemon. I am using Nextcloud v26 running Snappymail. The IMAP server secure is SSL/TLS, 993 |
We need the name of your IMAP software. |
Do you mean the IMAP server which is mail.psmail.net?! |
@chsleemsi: I think they refer to the software that is responding to IMAP requests made to that server on that server. For example, I use dovecot on my server, but somebody else might opt for mailu instead. There are many options out there and I think that's what the question is aiming at. |
Thanks mschilli87! Sorry for my ignorant. However, I don't know how to find out what software I am using. We use SnappyMail v2.29.4 on Nextcloud v26.0. The email domain is set up through SnappyMail - Admin Panel. The Nextcloud is hosted on Ubuntu VM. We used RainLoop before but it is not compatible with Nextcloud v26.0 that was why we migrated to SnappyMail recently and which RainLoop suggest. There was no search problem on RainLoop but all of the users facing the problem about Search after we have migrated to SnappyMail. |
Maybe you could consult https://info.psmail.net/xsupport/? |
OK, so searching for the emails SnappyMail couldn't previously find as mentioned in the OP does now work... BUT I've just hit another even more serious example of search being broken/ useless! 😭 I just searched for an email from a specific email address by searching for the exact email address and it doesn't find it! Again, Roundcube finds it fine. If I do: from:natasha It actually finds the email fine. But if I do: It doesn't find anything at all. Same with: from:natasha@example.com What's going on?!? |
To find out, we need the log. |
Morning djmaze, don't know why but the search working now. I guess someone from the server side did something. Thank you so much! |
Haha, I thought that was perhaps going to be handy view about exactly which logs you want and where exactly to find them! But now, it's a clip from Ren and Stimpy (I used to enjoy that show). I've just enabled logging here at But not sure what (if anything) to put in the path? I also checked this box here in What next? |
By default the lognis in the data directory of Nextcloud.
Me too, and it is about "log" 🤣 |
OK @the-djmaze so here are some recent logs: https://paste.uniteddiversity.coop/?d30b147d210a9f32#CU7VfW1gy6Rj1xna47c8tzSReXhyPcZCGhfKZcVB3zBp (pw: snappy) I'm still finding the search to be pretty useless 😭 I just searched for I may have to just go back to using Roundcube as search works pretty well there. But that'd be a shame as I otherwise like SnappyMail and how it's nicely integrated into Nextcloud. Hopefully the logs will shed some light on why it's not working. |
SnappyMail relies on the search capabilities of the IMAP server. |
from=emailaddress still doesn't work which is rather frustrating
Is this a SnappyMail issue or is it because of the search capabilities of the IMAP server? How can I help to investigate why this isn't working? |
Dovecot is the exact same IMAP server that my system is running too though 🤔 |
What's odd is that e.g. searching for admin@sustainablebridport* works, but searching for admin@sustainablebridport.com fails to display any results. admin@sustainablebridport.* works too, but as soon as there are any characters after the dot it fails |
Open a message from the search that works. You can also forward th email as attachment to issue-1096@snappymail.eu and i will take a look/test. |
Describe the bug
If I do a search for
suma
or even specifically search subjects forSuma delivery day change
it does not find an email with the subjectSuma delivery day change
To Reproduce
Steps to reproduce the behavior:
suma
or even specifically search subjects forSuma delivery day change
Expected behavior
Search should work.
The text was updated successfully, but these errors were encountered: