Hi all,

I've installed my reverting DKIM verifier. Today it failed on a specific message which I also received directly. The reason it failed is the Subject: field was rewritten like so:

ORIGINAL:
Subject: RE: [dmarc-ietf] A policy for direct mail flows only, was ARC
 questions

REWRITTEN:
Subject: Re: [dmarc-ietf] A policy for direct mail flows only,
 was ARC  questions


The message is tagged X-Mailman-Version: 2.1.29. Is it Mailman doing that change? I found some code which may seem to be doing something like that in CookHeaders.py:

    rematch = re.match(
                       '(\s*(RE|AW|SV|VS)\s*(\[\d+\])?\s*:\s*)+',
                        subject, re.I)
    if rematch:
        subject = subject[rematch.end():]
        recolon = 'Re:'


It seems I have to save the subject if it matches that string, correct?

Best
Ale
--













_______________________________________________
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9

Reply via email to