In mailing lists and mail groups, I am adding MFT headers successfully using various methods - (subscribed, message-subscribed-*). Is there a way to add MFT headers in newsgroup posts? Especially the groups that are gateways to mailing lists. -- Regards Pankaj
>>>>> On Thu, 01 Sep 2022 09:59:20 +0530, Pankaj Jangid <pankaj@codeisgreat.org> said:
Pankaj> In mailing lists and mail groups, I am adding MFT headers successfully
Pankaj> using various methods - (subscribed, message-subscribed-*).
Pankaj> Is there a way to add MFT headers in newsgroup posts? Especially the
Pankaj> groups that are gateways to mailing lists.
You can either define posting styles in the group parameters of the
individual groups that add the MFT headers, or your global
`gnus-posting-styles' can match on the group name and do it there, eg
(setq gnus-posting-styles
ʼ(("^nntp.*name-of-group"
("Mail-Followup-To" "mailing@list.domain"))))
Robert
--
Robert Pluim <rpluim@gmail.com> writes:
> Pankaj> Is there a way to add MFT headers in newsgroup posts? Especially the
> Pankaj> groups that are gateways to mailing lists.
>
> You can either define posting styles in the group parameters of the
> individual groups that add the MFT headers, or your global
> `gnus-posting-styles' can match on the group name and do it there, eg
This is one way. But I think, this will overwrite the exisitng
auto-generated MFT headers. For example, if I am reading a Post that
already has MFT headers then follow-up should include those as well.
>>>>> On Thu, 01 Sep 2022 13:49:09 +0530, Pankaj Jangid <pankaj@codeisgreat.org> said:
Pankaj> Robert Pluim <rpluim@gmail.com> writes:
Pankaj> Is there a way to add MFT headers in newsgroup posts? Especially the
Pankaj> groups that are gateways to mailing lists.
>>
>> You can either define posting styles in the group parameters of the
>> individual groups that add the MFT headers, or your global
>> `gnus-posting-styles' can match on the group name and do it there, eg
Pankaj> This is one way. But I think, this will overwrite the exisitng
Pankaj> auto-generated MFT headers. For example, if I am reading a Post that
Pankaj> already has MFT headers then follow-up should include those as well.
I think itʼs considered bad form to change received MFT headers. But
posting styles can run arbitrary elisp, so you can do whatever you want.
Robert
--