From: jens@kloecker.org (Jens Klöcker)
To: info-gnus-english@gnu.org
Subject: Re: choose/set from address & gcc-sent_mail
Date: Tue, 29 Dec 2015 10:05:13 +0100 [thread overview]
Message-ID: <87ege5sjzq.fsf@kloecker.org> (raw)
In-Reply-To: <mailman.1210.1451362694.843.info-gnus-english@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 1643 bytes --]
Am 29.12.2015 um 05:18 Uhr schrieb Benjamin Slade:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Benjamin Slade <slade@jnanam.net> writes:
>>> Tried playing with Gnus Alias. There doesn't seem to be a
>>> straightforward way of getting it to work with smtpmail-multi. So, I
>>> can get Gnus Alias to automatically set Sender and Gcc, but then my
>>> smtpmail server isn't set.
>>
>> The wiki page claims that it can set: "Extra headers - a list of
>> arbitrary header to set (e.g. X-Archive: no)". I haven't used this
>> and don't know how it works, but I'll bet you can make it set the
>> X-SMTP-Server header, which would solve your problem.
>
> Ah, I'll look into that. I used extra headers to set Gcc; I'll see if
> I can use it to set the smtp server.
I use this for several years now and set the smtp server among many
other things via posting styles:
--8<---------------cut here---------------start------------->8---
(setq gnus-posting-styles
'(
(".*"
MY DEFAULT SETTINGS
)
("work:.*"
MY WORK SETTINGS
)
("private:.*"
MY PRIVATE SETTINGS
("X-Message-SMTP-Method" "smtp smtp.someserver.de 587 username")
)))
--8<---------------cut here---------------end--------------->8---
The SMTP server used for work is set using the
normal message-send-mail-function.
--
Jens Klöcker · Public key: http://www.kloecker.org/jens/public-key.txt
Mastery of UNIX, like mastery of language, offers real freedom.
(Thomas Scoville)
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]
next prev parent reply other threads:[~2015-12-29 9:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-27 21:51 Benjamin Slade
2015-12-28 1:02 ` Eric Abrahamsen
2015-12-28 5:31 ` Benjamin Slade
2015-12-28 20:59 ` Benjamin Slade
2015-12-29 1:08 ` Eric Abrahamsen
2015-12-29 4:18 ` Benjamin Slade
[not found] ` <mailman.1210.1451362694.843.info-gnus-english@gnu.org>
2015-12-29 9:05 ` Jens Klöcker [this message]
2015-12-31 8:53 ` Benjamin Slade
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=87ege5sjzq.fsf@kloecker.org \
--to=jens@kloecker.org \
--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).