all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Jeffrey DeLeo <JeffreyDeLeo@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Gnus and offline Email
Date: Thu, 17 Nov 2016 16:47:23 +0300	[thread overview]
Message-ID: <m2shqq6wwk.fsf@fgunbin.local> (raw)
In-Reply-To: <87y40k63kc.fsf@gmail.com> (Jeffrey DeLeo's message of "Tue, 15 Nov 2016 09:44:19 -0800")

On 15/11/2016 09:44 -0800, Jeffrey DeLeo wrote:

> Re: sending mail: In fact, I used to send mail directly from emacs. This
> involved fiddling with a number of things. It turned out to be much
> easier to just let postfix handle it. For example, I use several
> different email accounts to send mail from in Gnus; I now let gnus know
> about this via posting-styles, and let postfix worry about which address
> should go to which server, and how.

Could you please show how you set up whatever points to your target smtp
server in posting styles?

I now write smth like this to separate my private and work accounts:

(setq gnus-posting-styles
      '((".*"
	 (address "fgunbin@fastmail.fm")
	 ("X-Message-SMTP-Method" "smtp mail.messagingengine.com 587"))
	("nnfolder\\+mailserver:mail.work"
	 (address "fgunbin@work.com")
	 ("X-Message-SMTP-Method" "smtp outlook.office365.com 587"))))

When replying, it just works.  When writing new message, I have to put
point onto `mail.work' group in *Groups* and use `C-u m' to have *message*
buffer set with the posting style above.

Filipp



  reply	other threads:[~2016-11-17 13:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-12 15:11 Gnus and offline Email Tim Zander
2016-11-12 19:37 ` Eric Abrahamsen
2016-11-14 20:42   ` Tim Zander
2016-11-14 21:29     ` Eric Abrahamsen
2016-11-14 12:28 ` Filipp Gunbin
2016-11-14 19:07   ` Eric Abrahamsen
2016-11-15 10:34     ` Filipp Gunbin
2016-11-15 17:20       ` Eric Abrahamsen
2016-11-15 17:44 ` Jeffrey DeLeo
2016-11-17 13:47   ` Filipp Gunbin [this message]
2016-11-17 16:57     ` Jeffrey DeLeo
2016-11-21 10:34 ` Eric S Fraga

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=m2shqq6wwk.fsf@fgunbin.local \
    --to=fgunbin@fastmail.fm \
    --cc=JeffreyDeLeo@gmail.com \
    --cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.