GNU bug report logs -
#5573
23.1; Please add Injection-* headers to message-ignored-supersedes-headers
Previous Next
Reported by: Teemu Likonen <tlikonen <at> iki.fi>
Date: Sat, 13 Feb 2010 10:20:04 UTC
Severity: normal
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 30 Sep 2010 23:15:03 +0200
with message-id <m3bp7f3pd4.fsf <at> quimbies.gnus.org>
and subject line Re: 23.1; Please add Injection-* headers to message-ignored-supersedes-headers
has caused the GNU bug report #5573,
regarding 23.1; Please add Injection-* headers to message-ignored-supersedes-headers
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
5573: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5573
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
This report is about Gnus and file lisp/gnus/message.el in particular.
There is a news server, namely eternal.september.org, which adds
Injection-Date and Injection-Info headers to messages. When superseding
such message the sending fails because the server does not want user to
fill those headers, the server wants to do it. Supersede works if user
removes those headers manually.
So, I suggest adding the headers to message-ignored-supersedes-headers
variable like the attached patch does.
[supersede-ignore-injection-headers.diff (text/x-diff, inline)]
diff --git i/lisp/gnus/message.el w/lisp/gnus/message.el
index 7194813..8992cef 100644
--- i/lisp/gnus/message.el
+++ w/lisp/gnus/message.el
@@ -276,7 +276,7 @@ included. Organization and User-Agent are optional."
:link '(custom-manual "(message)Mail Headers")
:type 'regexp)
-(defcustom message-ignored-supersedes-headers "^Path:\\|^Date\\|^NNTP-Posting-Host:\\|^Xref:\\|^Lines:\\|^Received:\\|^X-From-Line:\\|^X-Trace:\\|^X-ID:\\|^X-Complaints-To:\\|Return-Path:\\|^Supersedes:\\|^NNTP-Posting-Date:\\|^X-Trace:\\|^X-Complaints-To:\\|^Cancel-Lock:\\|^Cancel-Key:\\|^X-Hashcash:\\|^X-Payment:\\|^Approved:"
+(defcustom message-ignored-supersedes-headers "^Path:\\|^Date\\|^NNTP-Posting-Host:\\|^Xref:\\|^Lines:\\|^Received:\\|^X-From-Line:\\|^X-Trace:\\|^X-ID:\\|^X-Complaints-To:\\|Return-Path:\\|^Supersedes:\\|^NNTP-Posting-Date:\\|^X-Trace:\\|^X-Complaints-To:\\|^Cancel-Lock:\\|^Cancel-Key:\\|^X-Hashcash:\\|^X-Payment:\\|^Approved:\\|^Injection-Date:\\|^Injection-Info:"
"*Header lines matching this regexp will be deleted before posting.
It's best to delete old Path and Date headers before posting to avoid
any confusion."
[Message part 5 (message/rfc822, inline)]
Teemu Likonen <tlikonen <at> iki.fi> writes:
> There is a news server, namely eternal.september.org, which adds
> Injection-Date and Injection-Info headers to messages. When superseding
> such message the sending fails because the server does not want user to
> fill those headers, the server wants to do it. Supersede works if user
> removes those headers manually.
>
> So, I suggest adding the headers to message-ignored-supersedes-headers
> variable like the attached patch does.
Thanks you for the patch. I've now applied it to the development
version of Gnus.
--
(domestic pets only, the antidote for overdose, milk.)
larsi <at> gnus.org * Lars Magne Ingebrigtsen
This bug report was last modified 14 years and 239 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.