[Mailman-Users] Feature Request: Strip 'return receipt'

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Wed Jul 21 04:37:55 CEST 1999

>>>>> "DC" == Dave Cinege <dcinege at psychosis.com> writes:

    DC> Not only is a request for return reciept post annoying, it is
    DC> also a way to fish for mailing list members.

    DC> I feel proper action should be to strip this line from the
    DC> header and pass on the post.

How does this patch work for you?


-------------------- snip snip --------------------
Index: Deliverer.py
RCS file: /projects/cvsroot/mailman/Mailman/Deliverer.py,v
retrieving revision 1.59
diff -c -r1.59 Deliverer.py
*** Deliverer.py	1999/05/04 14:10:10	1.59
--- Deliverer.py	1999/07/21 02:34:12
*** 142,147 ****
--- 142,150 ----
  	if self.reply_goes_to_list:
              del msg['reply-to']
              msg.headers.append('Reply-To: %s\n' % self.GetListEmail())
+         # these can be used to surreptitiously gather membership info
+         del msg['return-receipt-to']
+         del msg['disposition-notification-to']
          # get rid of duplicate fields
          del msg['sender']
          del msg['errors-to']

More information about the Mailman-Users mailing list