From: Daniel Fleischer <danflscr@gmail.com>
To: Sergey Organov <sorganov@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Gnus and multiple Email servers
Date: Sun, 21 Nov 2021 23:14:23 +0200 [thread overview]
Message-ID: <m24k85p5xs.fsf@gmail.com> (raw)
In-Reply-To: <sne85v$r55$1@ciao.gmane.io> (Sergey Organov's message of "Sun, 21 Nov 2021 22:54:39 +0300")
Sergey Organov <sorganov@gmail.com> writes:
> Is there handy way of setting it automagically depending on the From:
> field of the outgoing mail?
You can use 'gnus-posting-styles' that matches the group; for example
(setq gnus-posting-styles
'((".*" ; Matches all groups of messages
(address "Daniel Fleischer <danflscr@gmail.com>")
(signature "\nDaniel Fleischer")
("X-Message-SMTP-Method" "smtp smtp.gmail.com 587 danflscr@gmail.com"))))
will use Google's SMTP, but you can define whatever you want. Read the
documentation since that matching is not like "cond", it iterates over
all clauses, and applies every thing that matches.
--
Daniel Fleischer
next prev parent reply other threads:[~2021-11-21 21:14 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-20 1:34 Gnus and multiple Email servers David Masterson
2021-11-20 2:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-20 4:00 ` Michael Heerdegen
2021-11-20 4:19 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-23 2:06 ` David Masterson
2021-11-23 6:26 ` Eric Abrahamsen
2021-11-23 8:21 ` Michael Heerdegen
2021-11-28 4:40 ` David Masterson
2021-11-28 10:04 ` Michael Heerdegen
2021-11-29 4:20 ` Eric Abrahamsen
2021-11-29 10:11 ` Michael Heerdegen
2021-11-29 16:23 ` Eric Abrahamsen
2021-11-30 11:14 ` Michael Heerdegen
2021-12-01 5:44 ` Eric Abrahamsen
2021-12-01 18:16 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-01 19:26 ` Eric Abrahamsen
2021-12-01 20:27 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-01 21:44 ` Eric Abrahamsen
2021-12-03 20:43 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-03 20:46 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-04 3:45 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-04 4:21 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-04 17:24 ` Eric Abrahamsen
2021-12-04 17:34 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-04 20:37 ` Eric Abrahamsen
2021-11-23 9:55 ` Byung-Hee HWANG
2021-11-28 4:38 ` David Masterson
2021-11-28 5:10 ` Eric Abrahamsen
2021-11-28 6:08 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-12-01 3:31 ` David Masterson
2021-12-01 4:34 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-22 6:48 ` David Masterson
2021-11-23 9:35 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-28 4:42 ` David Masterson
2021-11-20 5:21 ` Óscar Fuentes
2021-11-22 6:38 ` David Masterson
2021-11-21 14:17 ` Byung-Hee HWANG
2021-11-21 19:54 ` Sergey Organov
2021-11-21 21:14 ` Daniel Fleischer [this message]
2021-11-22 2:43 ` Bob Newell
2021-11-22 9:44 ` Byung-Hee HWANG
2021-11-24 13:34 ` Byung-Hee HWANG 🐂🐧
2021-11-24 15:16 ` Michael Heerdegen
2021-11-24 21:32 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-25 14:42 ` Byung-Hee HWANG
2021-11-25 14:32 ` Byung-Hee HWANG
2021-11-22 10:35 ` Vegard Vesterheim
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m24k85p5xs.fsf@gmail.com \
--to=danflscr@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=sorganov@gmail.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).