Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: lists.emacs.gnus@xavier.maillard.im
Cc: ding@gnus.org
Subject: Re: Reply-to with the same address as it was sent to
Date: Thu, 12 Nov 2015 21:50:16 +0100	[thread overview]
Message-ID: <87fv0buelz.fsf@gnu.org> (raw)
In-Reply-To: <m0ziyknmjt.fsf@kcals.intra.maillard.im> (lists emacs gnus's message of "Thu, 12 Nov 2015 00:28:22 +0100")

lists.emacs.gnus@xavier.maillard.im writes:

Hi Xavier,

> I am using Plus addressing and subdomain addressing[1] which permits
> auto-split of my incoming mails into mail groups.
>
> A mail addressed to, say, lists.emacs.gnus@xavier.maillard.im is put
> into INBOX.lists.emacs.gnus. This is a neat feature I am using
> everywhere.
>
> On the Fastmail webmail, I have a "generic" identity which automatically
> change my From to the current subdomain adress.
>
> Is there something I could read about that for Gnus ? I have seen many
> configuration with alias and such (gnus-alias, gnus posting style,
> gnus-harvest, etc.) Which can help in my case ?

With gnus posting styles, you can have such rules like in
INBOX.lists.emacs.gnus, use lists.emacs.gnus@xavier.maillard.im as my
address.  That's how I use them.  The structure is the same as that for
`gnus-parameter'.

--8<---------------cut here---------------start------------->8---
(setq gnus-posting-styles
      `(("nnimap\\+Gmail:"
	 (address "MY-GMAIL-ADDR@gmail.com"))
	("nnimap\\+Fastmail:"
	 (address "MY-FASTMAIL-ADDR@fastmail.fm"))
	("nnimap\\+Uni:"
	 (address "MY-UNI-ADDR@uni-koblenz.de")
	 (signature ,th/gnus-uni-signature))

	(,(rx (or "nntp+Eclipse" "infko." "nnimap\\+Uni:"))
	 (address "MY-UNI-ADDR@uni-koblenz.de")
	 (signature ,th/gnus-uni-signature))

	(,(rx (or (and (opt "de.") (or "comp." "comm.software."))
		  "gnu."
		  "nntp+Gmane:"
		  "nnimap+Fastmail:INBOX.GNU"
		  "nnimap+Fastmail:INBOX.mailinglists."))
	 (address "tsdh@gnu.org"))

	(,(rx "INBOX.mailinglists.d-barf")
	 (address "MY-FASTMAIL-ADDR@fastmail.fm"))

	(,(rx "gmane.comp.printing.ghostscript.")
	 ;; Posting requires whitelist keyword "artifex" spelled backwards.
	 ("X-Fnord" "xefitra"))))
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo



  reply	other threads:[~2015-11-12 20:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 23:28 lists.emacs.gnus
2015-11-12 20:50 ` Tassilo Horn [this message]
2015-11-12 22:57   ` Xavier Maillard
2015-11-13  2:16 ` Jeffrey DeLeo
2015-11-13  4:32   ` lists.emacs.gnus
2015-11-13  6:38     ` Erik Colson
     [not found]     ` <87io55smq9.fsf@JUbuntu.dharma.lan>
2015-11-16  5:59       ` [SOLVED] solution included (was: Reply-to with the same address as it was sent to) Xavier Maillard
2015-11-18 18:48         ` [SOLVED] solution included Jeffrey DeLeo
2015-11-18 21:46           ` Xavier Maillard

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=87fv0buelz.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=ding@gnus.org \
    --cc=lists.emacs.gnus@xavier.maillard.im \
    /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).