Gnus development mailing list
 help / color / mirror / Atom feed
* Mail-Followup-To header
@ 2010-08-19  7:20 Gary
  2010-08-19 18:43 ` Reiner Steib
  0 siblings, 1 reply; 4+ messages in thread
From: Gary @ 2010-08-19  7:20 UTC (permalink / raw)
  To: ding

I asked about this in a thread - OP @ M-ID: <i3bp09$qe0$1@dough.gmane.org>
- on the general emacs ml but never really got it properly sorted out.

In summary: I read and post to various mailing lists via the gmane
mail2news/news2mail gateway. That is, when I post, I am doing so in a
manner that gnus thinks I am posting to a newsgroup, not a mailing list,
so it doesn't set Mail-Followup-To. Jim Crossley suggested simply using
posting styles to force the generation of the proper header, so I tried,
for example:
,----[ config-nntp.el ]
| ...
| (push '("gmane.emacs.help"
| ...
|          ("Followup-To" "gmane.emacs.help")
|          ("Mail-Followup-To" "help-gnu-emacs@gnu.org")
| ...
`----

but the articles still end up without those headers. If I add the
headers manually, the Mail-Followup-To survives, while Followup-To is
transformed (by gmane I think) to Original-Followup-To :(

Why does gnus decide not to set (or strips) the headers I specified in
the posting style? Is there any way to avoid the manual step?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mail-Followup-To header
  2010-08-19  7:20 Mail-Followup-To header Gary
@ 2010-08-19 18:43 ` Reiner Steib
  2010-08-23  6:25   ` Gary
  0 siblings, 1 reply; 4+ messages in thread
From: Reiner Steib @ 2010-08-19 18:43 UTC (permalink / raw)
  To: ding

On Thu, Aug 19 2010, Gary wrote:

> ,----[ config-nntp.el ]
> | ...
> | (push '("gmane.emacs.help"
> | ...
> |          ("Followup-To" "gmane.emacs.help")
> |          ("Mail-Followup-To" "help-gnu-emacs@gnu.org")
> | ...
> `----
>
> but the articles still end up without those headers. If I add the
> headers manually, the Mail-Followup-To survives, while Followup-To is
> transformed (by gmane I think) to Original-Followup-To :(
>
> Why does gnus decide not to set (or strips) the headers I specified in
> the posting style? Is there any way to avoid the manual step?

Gmane transforms Followup-To to Original-Followup-To, so this is not
under Gnus' control.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mail-Followup-To header
  2010-08-19 18:43 ` Reiner Steib
@ 2010-08-23  6:25   ` Gary
  2010-08-26  7:27     ` Gary
  0 siblings, 1 reply; 4+ messages in thread
From: Gary @ 2010-08-23  6:25 UTC (permalink / raw)
  To: ding

Reiner Steib wrote:
> On Thu, Aug 19 2010, Gary wrote:
>
>> ,----[ config-nntp.el ]
>> | ...
>> | (push '("gmane.emacs.help"
>> | ...
>> |          ("Followup-To" "gmane.emacs.help")
>> |          ("Mail-Followup-To" "help-gnu-emacs@gnu.org")
>> | ...
>> `----
>>
>> but the articles still end up without those headers. If I add the
>> headers manually, the Mail-Followup-To survives, while Followup-To is
>> transformed (by gmane I think) to Original-Followup-To :(
>>
>> Why does gnus decide not to set (or strips) the headers I specified in
>> the posting style? Is there any way to avoid the manual step?
>
> Gmane transforms Followup-To to Original-Followup-To, so this is not
> under Gnus' control.

Yeah, I gathered that, thanks. I'd still like to know why, when I add
the above values to my posting styles, the headers aren't posted, but
are when I set them manually (even if gmane happens to mangle one of
them).




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mail-Followup-To header
  2010-08-23  6:25   ` Gary
@ 2010-08-26  7:27     ` Gary
  0 siblings, 0 replies; 4+ messages in thread
From: Gary @ 2010-08-26  7:27 UTC (permalink / raw)
  To: ding

Gary wrote:
> I'd still like to know why, when I add
> the above values to my posting styles, the headers aren't posted, but
> are when I set them manually (even if gmane happens to mangle one of
> them).

Well, apparently adding them to posting styles isn't enough, one must
*also* add them to message-required-news-headers:
,----[ .gnus.el ]
| (setq gnus-select-method '(nntp "news.gmane.org"))
...
| (push '("gmane.test"
...
|          ("Followup-To" "gmane.test")
|          ("Mail-Followup-To" "whatever@example.com")
|         )
|        )
|       gnus-posting-styles
| )
| 
| (setq-default
|  message-required-news-headers (append
|                                 message-required-news-headers
|                                 (list '(optional . X-No-Archive)
|                                       '(optional . Mail-Copies-To)
|                                       '(optional . Followup-To)
|                                       '(optional . Mail-Followup-To)
|                                 )
|                                )
| )
| (setq-default X-No-Archive '"Yes")
| (setq-default Mail-Copies-To '"never")
`----




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-26  7:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-19  7:20 Mail-Followup-To header Gary
2010-08-19 18:43 ` Reiner Steib
2010-08-23  6:25   ` Gary
2010-08-26  7:27     ` Gary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).