Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: Gnus Multiple Roles
Date: Sat, 12 Dec 2015 11:50:58 +0800	[thread overview]
Message-ID: <87mvtgmijh.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87y4d5s6tj.fsf@ram.bvr.dp.lan>

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.

Hope that's what you were after...



  parent reply	other threads:[~2015-12-12  3:50 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
2015-12-11 16:16         ` Jeffrey DeLeo
2015-12-12  3:50 ` Eric Abrahamsen [this message]
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=87mvtgmijh.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).