From: "Peter Münster" <pmlists@free.fr>
To: info-gnus-english@gnu.org
Subject: Re: When replying, set From: to use the address where I received the email
Date: Fri, 28 Aug 2015 08:22:08 +0200 [thread overview]
Message-ID: <87pp28vsof.fsf@free.fr> (raw)
In-Reply-To: <87bnds1tsi.fsf@gnu.org>
On Thu, Aug 27 2015, Bastien wrote:
> Thanks -- I was already using this, but it does not work when replying
> to mailing lists since ‘message-use-alternative-email-as-from’ is only
> using the "To" "Cc" "From" headers (this is hardcoded).
You can use gnus-parameters for lists. Here some lines of my setup,
perhaps it can help:
--8<---------------cut here---------------start------------->8---
(setq
pm/lists '((:name "context.list"
:list-identifier "\\[NTG-context\\]"
:address "ntg-context@ntg.nl")
....)
pm/list-address "pmlists@free.fr"
gnus-parameters
`(("^[^.]*$" (gcc-self . t) (display . [not expire]))
,@(cl-loop for item in pm/lists collect
`(,(pm/str->regexp (plist-get item :name))
(subscribed . t) (gcc-self . none) (display . default)
(to-list . ,(plist-get item :address))
(pm/role "list") (pm/language "en")
(posting-style (address ,pm/list-address)
(eval (setq pm/role "list"
pm/language "en"))
(To ,(plist-get item :address)))
(gnus-list-identifiers ,(plist-get item :list-identifier))))
("nntp+.*" (pm/role "list") (pm/language "en")
(posting-style (address ,pm/list-address)
(eval (setq pm/role "list" pm/language "en"))))))
--8<---------------cut here---------------end--------------->8---
--
Peter
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next prev parent reply other threads:[~2015-08-28 6:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 17:03 Bastien
2015-08-27 17:26 ` Rasmus
2015-08-27 18:16 ` Bastien
2015-08-28 6:22 ` Peter Münster [this message]
2015-08-28 9:06 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pp28vsof.fsf@free.fr \
--to=pmlists@free.fr \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).