Re: When replying, set From: to use the address where I received the email
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 '((:namecontext.list :list-identifier \\[NTG-context\\] :address ntg-cont...@ntg.nl) ) pm/list-address pmli...@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
Re: When replying, set From: to use the address where I received the email
Peter Münster pmli...@free.fr writes: 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: Thanks, but I think setting `message-alternative-emails' should be enough, with no complex setting. I'll test my patch and formally submit it in a month or so. -- Bastien ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: When replying, set From: to use the address where I received the email
Hi Rasmus, Rasmus ras...@gmx.us writes: Check: message-alternative-emails, message-dont-reply-to-names gnus-ignored-from-addresses. 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). With the attached patch, things seem fine now. But maybe there are other headers to consider, or maybe using an option here would do? Let me know, diff --git a/lisp/message.el b/lisp/message.el index d780e86..ac43d04 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -8319,7 +8319,8 @@ regexp VARSTR. address in `message-alternative-emails', looking at To, Cc and From headers in the original article. (require 'mail-utils) - (let* ((fields '(To Cc From)) + (let* ((fields '(To Cc From + X-Original-To Envelope-To Delivered-To)) (emails (split-string (mail-strip-quoted-names -- Bastien ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english