Subject: bug#19623: Bug of nnimap-find-expired-articles

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 25 Jan 2017 22:17:34 +0100

Sorry for the late response; the bug report has been sitting in a part
of the bug tracker that nobody has looked at due to a misunderstanding.

OGAWA Hirofumi <[email-masked]> writes:

> nnimap-find-expired-articles expires wrong articles.
>
> When I am using 'never in expire config, emails in the group should not
> be expired. But nnmail-expired-article-p which is used by
> nnimap-find-expired-articles returns nil for 'never, and
> nnimap-find-expired-articles pass returned nil to decode-time to find
> articles.
>
> By using returned nil for decode-time, nnimap-find-expired-articles
> returns articles before current time, and expires all emails wrongly.
>
> The following patch is to fix this bug.

Thanks for the patch.  It seems like somebody else has applied the same
fix in the meantime, though.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no