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

Mail bounced with "over quota" is not recognized.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1, 3.1.1, 3.1.2, 3.1.3, 3.1.4
    • Fix Version/s: 3.2
    • Component/s: CiviMail
    • Labels:
      None

      Description

      Due to a malformed regular expression in Bounce Pattern table, messages bounced with a reason of "over quota" are not recognized and immediately put on hold.

      The SQL that builds the bounce table inserts the string 'over\s?quota', but the resulting pattern in the table becomes 'overs?quota'. The backslash in the original expression is dropped because it is not escaped. It turns out, though, that the attempt to ignore multiple whitespace chars is not needed, because multiple whitespaces are already replaced by a single space in CRM_Mailing_BAO_BouncePattern::match() before the match is attempted. The fix is to simply modify the SQL to insert the simple pattern 'over quota'.

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              marty Marty Wright
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: