Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Multi-SMTP
Date: Thu, 02 Feb 2012 13:42:50 +0100	[thread overview]
Message-ID: <87k44576et.fsf@gnus.org> (raw)

I'm wondering how the multi-SMTP stuff should work.

One approach would be to use group parameters, and add tokens like
(smtp (smtpmail "smtp.gmail.com" 583)) or something.

Message would then put this info into a header that would be saved, so
that saving to drafts/queues etc would work.

So that would be

X-Message-Outgoing-SMTP: smtpmail smtp.gmail.com 583

If you want sendmail, then that would be

X-Message-Outgoing-SMTP: sendmail

That would be a pretty flexible mechanism, and allow for easy
customisations by users.

On the Gnus side, one could then add "intelligent" rules for determining
where to send mail, although I'm not sure just how.  :-)  If the
Received line of the message you're answering contains smtp.work.com,
then use that as the outgoing MTA for your work email?  Hm...

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome




             reply	other threads:[~2012-02-02 12:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-02 12:42 Lars Ingebrigtsen [this message]
2012-02-02 12:56 ` Multi-SMTP Ted Zlatanov
2012-02-02 13:32   ` Multi-SMTP Lars Ingebrigtsen
2012-02-02 13:54     ` Multi-SMTP Ted Zlatanov
2012-02-02 14:04       ` Multi-SMTP Lars Ingebrigtsen
2012-02-02 15:49     ` Multi-SMTP Johann 'Myrkraverk' Oskarsson
2012-02-03 16:20 ` Multi-SMTP Eric S Fraga
2012-02-04 14:12   ` Multi-SMTP Richard Riley
2012-02-05 21:02   ` Multi-SMTP Memnon Anon
2012-02-06  9:05     ` Multi-SMTP Eric S Fraga
2012-02-06 23:33   ` Multi-SMTP Lars Ingebrigtsen
2012-02-07 16:16     ` Multi-SMTP Eric S Fraga
2012-02-08 12:15       ` Multi-SMTP Richard Riley
2012-02-08 16:04         ` Multi-SMTP Eric S Fraga
2012-02-08 18:58           ` Multi-SMTP Richard Riley

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=87k44576et.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.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).