From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17799 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus Multiple Roles Date: Sun, 13 Dec 2015 10:45:50 +0800 Message-ID: <87h9jngj6p.fsf@ericabrahamsen.net> References: <87y4d5s6tj.fsf@ram.bvr.dp.lan> <87mvtgmijh.fsf@ericabrahamsen.net> <87lh90gd9g.fsf@gmx.us> <87poybh9o3.fsf@ericabrahamsen.net> <87d1ubh4qz.fsf@gmx.us> 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 1449974780 16811 80.91.229.3 (13 Dec 2015 02:46:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Dec 2015 02:46:20 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Dec 13 03:46:09 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 1a7wfo-0004wM-VI for gegu-info-gnus-english@m.gmane.org; Sun, 13 Dec 2015 03:46:09 +0100 Original-Received: from localhost ([::1]:53734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7wfo-0005ZV-D1 for gegu-info-gnus-english@m.gmane.org; Sat, 12 Dec 2015 21:46:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7wfm-0005ZJ-5k for info-gnus-english@gnu.org; Sat, 12 Dec 2015 21:46:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7wfi-0006eJ-V6 for info-gnus-english@gnu.org; Sat, 12 Dec 2015 21:46:06 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7wfi-0006eF-Nt for info-gnus-english@gnu.org; Sat, 12 Dec 2015 21:46:02 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a7wfg-0004ZF-Sn for info-gnus-english@gnu.org; Sun, 13 Dec 2015 03:46:01 +0100 Original-Received: from 61.149.187.90 ([61.149.187.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Dec 2015 03:46:00 +0100 Original-Received: from eric by 61.149.187.90 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Dec 2015 03:46:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 60 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 61.149.187.90 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:nzFm5TyJJr39f9Er7xAXJzqc4HA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:17799 Archived-At: Rasmus writes: > Eric Abrahamsen writes: > >> Rasmus writes: >> >>> Eric Abrahamsen writes: >>> >>>> bvraghav@iitk.ac.in (B.V. Raghav) writes: >>>> >>>>> Hi, >>>>> >>>>> I have been successfully using alpine for a long time now. While >>>>> switching to gnus, I feel that the functionality of alpine that I find >>>>> missing are: >>>>> >>>>> 1. Multiple Roles. The capability to send from any smtp server I >>>>> prefer, not necessarily automated. >>>>> >>>>> I found this excellent library --- smtpmail-multi [ >>>>> https://github.com/vapniks/smtpmail-multi ]. However, the problem is, >>>>> that I was not able to automate the reply's with original message >>>>> having a specific header. >>>>> >>>>> The setting was: >>>>> (setq smtpmail-multi-associations >>>>> '((("To" . "help-gnu-emacs.*") bvraghav\.com) >>>>> )) >>>>> >>>>> Further I could not find a ready way to choose a specific smtp server >>>>> setting. >>>>> >>>>> Is there a way with the library, or a simple(r) recipe, that I can >>>>> adapt to my needs, in order to fulfil the requirements. >>>> >>>> Have you looked at this: >>>> http://www.emacswiki.org/emacs/MultipleSMTPAccounts >>>> >>>> You can use posting styles to set a X-SMTP-Server header in your >>>> outgoing message, and then there's a code snippet there for using the >>>> right server depending on the value of the header. >>> >>> Wouldn't X-Message-SMTP-Method be easier? >> >> To be honest, I don't really understand the difference. I use msmtp, so >> the header stuff is unfamiliar to me. What's the difference in how they >> work? > > X-Message-SMTP-Method is support "out of the box" and can be used to > configure SMTP pretty effortlessly. I haven't tried Gnus with external > SMTP programs for eons, so I cannot speak towards msmtp. Ah, interesting. Maybe it's time to let Gnus talk directly to the server (though the msmtp hack also on that wiki page still works just fine). That would mean relying entirely on posting styles, though, which is a bit of pain because I really like being able to just hit "m" in the *Group* buffer. It's never quite felt right to me that I still have to compose messages "from" a group, with "C-u a". Anyway, not a great big deal, either way.