SOURCES: mailman-umbrella-anon-hack.patch - works now

baggins baggins at pld-linux.org
Thu Apr 17 15:59:09 CEST 2008


Author: baggins                      Date: Thu Apr 17 13:59:09 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- works now

---- Files affected:
SOURCES:
   mailman-umbrella-anon-hack.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/mailman-umbrella-anon-hack.patch
diff -u SOURCES/mailman-umbrella-anon-hack.patch:1.1 SOURCES/mailman-umbrella-anon-hack.patch:1.2
--- SOURCES/mailman-umbrella-anon-hack.patch:1.1	Wed Apr 16 16:40:53 2008
+++ SOURCES/mailman-umbrella-anon-hack.patch	Thu Apr 17 15:59:03 2008
@@ -8,18 +8,19 @@
 
 --- mailman-2.1.9/Mailman/Handlers/Cleanse.py~	2006-01-15 22:01:35.000000000 +0100
 +++ mailman-2.1.9/Mailman/Handlers/Cleanse.py	2008-04-16 16:28:46.000000000 +0200
-@@ -34,8 +34,9 @@
+@@ -34,16 +34,17 @@
      del msg['urgent']
      # We remove other headers from anonymous lists
      if mlist.anonymous_list:
 -        syslog('post', 'post to %s from %s anonymized',
 +        syslog('post', 'post to %s from %s anonymizored',
                 mlist.internal_name(), msg.get('from'))
++        del msg['reply-to']
 +        msg['Reply-To'] = msg.get('from')
          del msg['from']
-         del msg['reply-to']
+-        del msg['reply-to']
          del msg['sender']
-@@ -43,7 +44,7 @@
+         # Hotmail sets this one
          del msg['x-originating-email']
          i18ndesc = str(uheader(mlist, mlist.description, 'From'))
          msg['From'] = formataddr((i18ndesc, mlist.GetListEmail()))
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mailman-umbrella-anon-hack.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list