Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-18891

ezmlm and dynamic Return-Path (SENDER) matching

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Feedback Received
    • Fix Version/s: None
    • Component/s: Mailing Lists
    • Labels:
      None
    • Project:
      Infrastructure

      Description

      ezmlm currently relies on the Return-Path (SENDER) rather than the From: address when matching subscriptions, allow/deny etc.

      This does not work with mail providers that use variable email addresses to track bounces.

      A specific solution has been implemented for Travis-CI [1] which looks for a fixed prefix and email domain.

      It might be useful to generalise this, e.g. instead of changing:

      bounce-md_14313403\..+\@mandrillapp.com => builds\@travis-ci.com

      one could drop the dynamic part:

      bounce-md_(\d+)\..+\@domain => bounce-md_<digits>_\@domain

      Moderators would then need to allow the following for Travis mails:
      bounce-md_14313403_\@mandrillapp.com

      There might need to be a few such substitutions to allow for all the providers, but it should be easy enough to extend the filter once the patterns were established (e.g. from looking at allow lists).

      If Travis changes the prefix, then moderators would only need to allow the new sender once; no need to change the filter.



        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: