Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: bvraghav@iitk.ac.in (B.V. Raghav)
To: Jeffrey DeLeo <JeffreyDeLeo@gmail.com>
Cc: info-gnus-english@gnu.org
Subject: Re: Gnus Multiple Roles
Date: Fri, 11 Dec 2015 15:50:11 +0530	[thread overview]
Message-ID: <87io458exw.fsf@ram.bvr.dp.lan> (raw)
In-Reply-To: <87wpsm2swf.fsf@JUbuntu.dharma.lan> (Jeffrey DeLeo's message of "Thu, 10 Dec 2015 08:02:56 -0800")

Jeffrey DeLeo <JeffreyDeLeo@gmail.com> writes:

> With posting styles, you can specify things like which email address to
> use, Organization, etc for a specific group, or topic. On that group or
> topic in gnus, type "G c", which runs the command "gnus-group-customize".
>
> Look for "Posting style", you can insert different things like address,
> Organization, etc there.
>
>

Posting styles do allow me to change all the headers. What I actually
want to do is use a different smtp server all together. For example,
when I reply to a mail from bvr@abc.tld, I want to use the server
smtp.abc.tld, and on the other hand when I reply to a mail from
bvr@xyz.tld, i want to use the server smtp.xyz.tld

Here is the example posting style:

(setq gnus-posting-styles
      '((".*"
         (name "B.V. Raghav")
         (address "bvraghav@abc.tld")
         (organization "Indian Institute of Technology, Kanpur")
         (signature-file "~/.signature.gnus")
         ("Gcc" "INBOX.Sent")
         )
        ("^\\(To\\|C[Cc]\\):.*bvraghav@xyz.tld")
         (name "B.V. Raghav")
         (address "bvraghav@xyz.tld")
         (organization "XYZ P Ltd")
         (signature-file "~/signature.xyz")
         ("Gcc" "nnimap+xyz:INBOX.Sent")
         (("X-Message-SMTP-Method" "smtp smtp.xyz.tld 587")
         )))

This provides me all the effect that I want, namely:
* The message is addressed from the specific email address
* I can even customize the "Reply-To" header
* There is a copy in my IMAP

BUT, there is a catch,

Received: from think.bvr.lan (unknown [172.20.188.59])
	(Authenticated sender: bvraghav)
	by smtp.abc.tld (Postfix) with ESMTPA id 2511248
	for <addressed@somedomain.tld>; Mon, 30 Nov 2015 11:05:12 +0530 (IST)

This header, nor any of the other subsequent or antecedent server
signatures in the header contain a trace of "xyz.tld".

1. I think that should qualify enough for spamming, with some
   servers. (Although I am actually not) 
2. At least this is a reason enough for not inboxing at times.
3. Even otherwise, is this not called imposting?

-- 
(B.V. Raghav)


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

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08  8:06 B.V. Raghav
2015-12-08 10:05 ` Sivaram Neelakantan
2015-12-09 10:33   ` B.V. Raghav
2015-12-10 16:02     ` Jeffrey DeLeo
2015-12-11 10:20       ` B.V. Raghav [this message]
2015-12-11 16:16         ` Jeffrey DeLeo
2015-12-12  3:50 ` Eric Abrahamsen
2015-12-12 10:41   ` Rasmus
2015-12-12 17:13     ` Eric Abrahamsen
2015-12-12 19:00       ` Rasmus
2015-12-13  2:45         ` Eric Abrahamsen
2015-12-13 12:44           ` Rasmus
2015-12-15  0:38             ` Eric Abrahamsen
2015-12-15 13:27               ` Rasmus
2015-12-15 14:19                 ` Eric Abrahamsen
2015-12-15 20:56                   ` Rasmus
2015-12-16  0:13                     ` Eric Abrahamsen

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=87io458exw.fsf@ram.bvr.dp.lan \
    --to=bvraghav@iitk.ac.in \
    --cc=JeffreyDeLeo@gmail.com \
    --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).