On 1/24/21 10:02 PM, Philip Paeps wrote:
> 
> Thanks for the tip!  This list does have a `pipeline` attribute.
> 
> ```
>     'pipeline': [   'DeDuper',
>                     'SpamDetect',
>                     'Approve',
>                     'Replybot',
>                     'Moderate',
>                     'Hold',
>                     'MimeDel',
>                     'Scrubber',
>                     'Emergency',
>                     'Tagger',
>                     'CalcRecips',
>                     'AvoidDuplicates',
>                     'Cleanse',
>                     'CleanseDKIM',
>                     'CookHeaders',
>                     'ToDigest',
>                     'ToArchive',
>                     'ToUsenet',
>                     'AfterDelivery',
>                     'Acknowledge',
>                     'ToOutgoing'],
> ```
> 
> It seems to have both SpamDetect and CookHeaders.  Our other mailing
> lists do not have a pipeline attribute defined though.  Suspiciously,
> this pipeline is missing the WrapMessage stage present in the
> GLOBAL_PIPELINE.  I wonder if that could be the problem?


Yes, the absence of WrapMessage is the problem. I forgot that
WrapMessage also is the piece that actually replaces the original From:.
SpamDetect is where we determine that the message needs DMARC
mitigation, and CookHeaders is where we figure what the munged From:
should look like, but CookHeaders only puts in in the messages metadata
and  WrapMessage actually does the replacement.

If you were to add WrapMessge, the only difference between this and
GLOBAL_PIPELINE is this one added DeDuper at the beginning. Since I
don't know what that does, I don't know if it's important or not, but if
it is, you could restore the list's pipeline with the addition of
WrapMessage.


-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to