Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-4031

CiviMailProcessor: make Mailidir polling work in batches

    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.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              shot Piotr Szotkowski
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: