1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/mailman/files/mailman.patch
Kristian Klausen 384bd7c8e8
mailman: Patch out CC modification breaking DKIM/DMARC
The bug[1] would explain all the bounces and unsubscriptions, so patch
it manually until upstream gets it sorted.

[1] https://gitlab.com/mailman/mailman/-/issues/636
2023-02-05 12:19:11 +01:00

11 lines
499 B
Diff

--- a/usr/lib/python3.10/site-packages/mailman/handlers/avoid_duplicates.py
+++ b/usr/lib/python3.10/site-packages/mailman/handlers/avoid_duplicates.py
@@ -113,7 +113,3 @@
newrecips.add(r)
# Set the new list of recipients. XXX recips should always be a set.
msgdata['recipients'] = list(newrecips)
- # RFC 2822 specifies zero or one CC header
- del msg['cc']
- if cc_addresses:
- msg['CC'] = COMMASPACE.join(cc_addresses.values())