diff lisp/gnus/message.el @ 92754:6984a176570c

(message-ignored-resent-headers): Add "Delivered-To".
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 12 Mar 2008 13:06:58 +0000
parents d3767aa9ae49
children a789a1138b08
line wrap: on
line diff
--- a/lisp/gnus/message.el	Wed Mar 12 12:05:30 2008 +0000
+++ b/lisp/gnus/message.el	Wed Mar 12 13:06:58 2008 +0000
@@ -561,7 +561,13 @@
   :link '(custom-manual "(message)Forwarding")
   :type 'boolean)
 
-(defcustom message-ignored-resent-headers "^Return-receipt\\|^X-Gnus\\|^Gnus-Warning:\\|^>?From "
+(defcustom message-ignored-resent-headers
+  ;; `Delivered-To' needs to be removed because some mailers use it to
+  ;; detect loops, so if you resend a message to an address that ultimately
+  ;; comes back to you (e.g. a mailing-list to which you subscribe, in which
+  ;; case you may be removed from the list on the grounds that mail to you
+  ;; bounced with a "mailing loop" error).
+  "^Return-receipt\\|^X-Gnus\\|^Gnus-Warning:\\|^>?From \\|^Delivered-To:"
   "*All headers that match this regexp will be deleted when resending a message."
   :group 'message-interface
   :link '(custom-manual "(message)Resending")