From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17792 Path: news.gmane.org!not-for-mail From: bvraghav@iitk.ac.in (B.V. Raghav) Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus Multiple Roles Date: Fri, 11 Dec 2015 15:50:11 +0530 Organization: Indian Institute of Technology, Kanpur Message-ID: <87io458exw.fsf@ram.bvr.dp.lan> References: <87y4d5s6tj.fsf@ram.bvr.dp.lan> <87egexs1ai.fsf@gmail.com> <87r3ivap2j.fsf@ram.bvr.dp.lan> <87wpsm2swf.fsf@JUbuntu.dharma.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1449829001 2762 80.91.229.3 (11 Dec 2015 10:16:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Dec 2015 10:16:41 +0000 (UTC) Cc: info-gnus-english@gnu.org To: Jeffrey DeLeo Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Dec 11 11:16:30 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a7KkN-0003Di-ME for gegu-info-gnus-english@m.gmane.org; Fri, 11 Dec 2015 11:16:19 +0100 Original-Received: from localhost ([::1]:46798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7KkC-0002yr-R2 for gegu-info-gnus-english@m.gmane.org; Fri, 11 Dec 2015 05:16:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7KkA-0002yk-Jj for info-gnus-english@gnu.org; Fri, 11 Dec 2015 05:16:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7Kk6-0006wO-FV for info-gnus-english@gnu.org; Fri, 11 Dec 2015 05:16:06 -0500 Original-Received: from mail3.iitk.ac.in ([202.3.77.190]:49348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7Kk6-0006vx-2U for info-gnus-english@gnu.org; Fri, 11 Dec 2015 05:16:02 -0500 Original-Received: from mmtp.iitk.ac.in (mmtp.iitk.ac.in [172.31.1.23]) by mail3.iitk.ac.in (Postfix) with ESMTP id 67BA0100026F; Fri, 11 Dec 2015 15:45:54 +0530 (IST) Original-Received: from ram.bvr.dp.lan.iitk.ac.in (unknown [172.20.240.64]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: bvraghav) by mmtp.iitk.ac.in (Postfix) with ESMTPSA id 575A73F; Fri, 11 Dec 2015 15:45:54 +0530 (IST) In-Reply-To: <87wpsm2swf.fsf@JUbuntu.dharma.lan> (Jeffrey DeLeo's message of "Thu, 10 Dec 2015 08:02:56 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 202.3.77.190 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17792 Archived-At: Jeffrey DeLeo 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 ; 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)