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

Filipp Gunbin <fgunbin@fastmail.fm> writes:

> 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

In my emacs init file, I have:

#+BEGIN_SRC
  (setq user-mail-address "mainEmailAddress@someWhere.com")
  (setq gnus-ignored-from-addresses (quote ("mainEmailAddress@someWhere.com" "me@specialGroup.org")))
#+END_SRC

which sets my main email address. Associated with a particular Topic in gnus, I have set up
another email address via a posting-style. When I am in that topic, that email address is used.
This is set in .newsrc.eld in gnus-home-directory:

#+BEGIN_SRC
  (setq gnus-topic-topology
        '(("Gnus" visible nil nil)
  	(("Mail" visible nil nil)
  	 (("Personal" visible nil nil))
  	 (("Work" visible nil nil))
  	 (("SpecialGroup" visible nil
  	   ((posting-style (address "me@specialGroup.org") (organization "SpecialGroup")))))
  	 (("Archive" visible nil nil)
  	  (("2013" invisible nil nil))
  	  (("2014" invisible nil nil))
  	  (("2015" invisible nil nil))
  	  (("Ancient" invisible nil nil))))
  	(("misc" visible nil nil))
  	(("Dev" visible nil nil)
  	 (("Python" visible nil nil))
  	 (("Emacs" visible nil nil))
  	 (("News" visible nil nil)))
  	))
#+END_SRC


  reply	other threads:[~2016-11-17 16:57 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
2016-11-17 16:57     ` Jeffrey DeLeo [this message]
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=87y40inixf.fsf@gmail.com \
    --to=jeffreydeleo@gmail.com \
    --cc=fgunbin@fastmail.fm \
    --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.