-
Notifications
You must be signed in to change notification settings - Fork 185
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
Implement search for arbitrary fields #20
Comments
SearchKey contains a list of unimplemented search keys. We have to add them to the SearchTermBuilder |
This looks to be related to this http://sourceforge.net/p/greenmail/bugs/4/ |
It actually is. At some point Marcel implemented search for flags and I recently added support for recipient and sender search. But some other fields can still not be searched. This is going to be included in 1.4.0 as soon as Marcel releases it. |
@buildmaster Do you want to take this one? Probably it's pretty straightforward except for the logical operations (and/or) |
presume that wasn't meant to bring me into the discussion on a repo I know nothing about. @buildscientist I'm presuming that last one was for you. |
@buildmaster yes that's correct :) @camann9 ok I'll see what I can do |
Looks like these are the search fields we currently do NOT support:
These were pulled from the TODO comments in SearchKey. I'll cross-reference RFC3501 Section 6.4.4 to verify we're implementing all specified fields. Most of the work is going to be in SearchTermBuilder and SearchKey (updating that enum). I might look into refactoring ImapSearchTest. Looks like all of the search field related tests are in ImapSearchTest.testSearch(). |
Ok, Thanks :-) . Only do this if you feel like it, otherwise I'm gonna do it when I come back :-) |
Do the date specific search attributes belong in SearchTermBuilder? It's not quite clear to me how we would implement date specific search attributes. It's not clear to me why anyone would want to do a server side search of email attributes. I'm guessing IMAP is implemented as such because before broadband - downloading headers for all messages in a mailbox was fairly time consuming. I'll leave this to @camann9 to implement as I'm somewhat confused about how to implement some of these search attributes. |
Ok |
Note: Search support is still limited to simple terms - see issue #20
Note: Search support is still limited to simple terms - see issue greenmail-mail-test#20
Updated TODOs to reflect currently supported search terms.
All related issues closed => completed! |
Updated TODOs to reflect currently supported search terms.
Currently the search command only supports search on flags. We also want search on other header fields
The text was updated successfully, but these errors were encountered: