Coalesce SEARCH uid list into sequence set
Coalesce SEARCH uid list into sequence set

Rather than passing in huge lists of continuous numbers which eventually
overflow the maximum command line length, we coalesce number ranges
before passing the UID sequence to SEARCH. This should do away with the
error that has been reported with busy mailing lists and 'maxage'.

Signed-off-by: Sebastian Spaeth <98dcb2717ddae152d5b359c6ea97e4fe34a29d4c@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <347709267ddd1958560c4c317ea3fd613f10a719@laposte.net>

frioux/offlineimap,frioux/offlineimap