[imapfilter-devel] Multiple SEARCH responses are ignored
Holger Schletz
h.schletz at dokom.net
Sun Aug 14 19:17:59 EEST 2005
Hi,
My IMAP Server splits up long SEARCH results into several responses,
like this:
* SEARCH 627008137 627008138 627008149 627008150 627008151 627008152
627008153
* SEARCH 627008154 627008155 627008156 627008157 627008160 627008168
627008176
* SEARCH 627008178 627008179 627008180 627008182 627008202 627008203
627008204
...
Unfortunately, imapfilter recognizes only the first line, allowing only
a limited number of messages (here: 7) to be processed at one time.
As long as the messages get removed during processing, I can work around
like this:
repeat do
results = match(account, folder, filter)
delete(account, folder, results)
end until table.getn (results) == 0
That's not a perfect solution as the server may get flooded with search
queries. Imapfilter should be fixed to parse multiple SEARCH responses.
Best regards,
Holger
More information about the Imapfilter-devel
mailing list