Searching by date range #271
Unanswered
YoungFrankendata
asked this question in
Q&A
Replies: 1 comment
-
UPDATE: After poking around more today, I now understand that the root cause is Yahoo IMAP's 10,000 message limit. Therefore, any complex result sets must cover the same 10,000 message range in order to work as expected. This same limitation is what was affecting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get imapfilter to select messages with a date range and then move them into a specific folder on Yahoo Mail. Yahoo's imap server doesn't return results for
UID SEARCH ALL BEFORE
orUID SEARCH ALL SENTBEFORE
so the method I was going to try was this:results = yahoo.Inbox:arrived_since('01-Jan-2018') - yahoo.Inbox:arrived_since('01-Jan-2019')
My thoughts were that this would return all messages that were in the first search without the messages in the second search. I have verified that the searches themselves return results by inspecting the imap debug log. However, when the command to move is executed it does nothing and there is no error message. It appears that the result set is empty, or at least that's how it seems to me.
Do I misunderstand the 'not' operator as it's explained in the sample config file and the man page? Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions