Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 2.2.0
-
Fix Version/s: Unscheduled
-
Component/s: CiviMail
-
Labels:None
Description
When fixing CRM-4002, r19515 introduced batch polling of mail stores. This polling is based on the underlying transport's fetchFromOffset() method.
As the Maildir store is written from scratch, there isn't a Maildir transport and, as such, no fetchFromOffset() method to piggyback; hence, in CiviCRM 2.2, we have a stub fetchNext() method for the Maildir transport that fetches all the emails, regardless of its parameter.
This should be fixed in 2.3 by polling the Maildir in batches.