]>
Commit | Line | Data |
---|---|---|
4b120158 JR |
1 | This is a hack usable only if you want |
2 | a moderated umbrella list of moderated lists. | |
3 | ||
4 | Set anonymous_list to Yes for umbrella list and allow posts | |
5 | from umbrella list to be accepted by sublists without moderation. | |
6 | ||
7 | This patch makes possible to reply to original poster instead of umbrella list. | |
8 | ||
9 | --- mailman-2.1.9/Mailman/Handlers/Cleanse.py~ 2006-01-15 22:01:35.000000000 +0100 | |
10 | +++ mailman-2.1.9/Mailman/Handlers/Cleanse.py 2008-04-16 16:28:46.000000000 +0200 | |
acdb1cf6 | 11 | @@ -34,16 +34,17 @@ |
4b120158 JR |
12 | del msg['urgent'] |
13 | # We remove other headers from anonymous lists | |
14 | if mlist.anonymous_list: | |
15 | - syslog('post', 'post to %s from %s anonymized', | |
16 | + syslog('post', 'post to %s from %s anonymizored', | |
17 | mlist.internal_name(), msg.get('from')) | |
acdb1cf6 | 18 | + del msg['reply-to'] |
4b120158 JR |
19 | + msg['Reply-To'] = msg.get('from') |
20 | del msg['from'] | |
acdb1cf6 | 21 | - del msg['reply-to'] |
4b120158 | 22 | del msg['sender'] |
acdb1cf6 | 23 | # Hotmail sets this one |
4b120158 JR |
24 | del msg['x-originating-email'] |
25 | i18ndesc = str(uheader(mlist, mlist.description, 'From')) | |
26 | msg['From'] = formataddr((i18ndesc, mlist.GetListEmail())) | |
27 | - msg['Reply-To'] = mlist.GetListEmail() | |
28 | + # msg['Reply-To'] = mlist.GetListEmail() | |
29 | # Some headers can be used to fish for membership | |
30 | del msg['return-receipt-to'] | |
31 | del msg['disposition-notification-to'] |