From: Vegard Vesterheim <vegard.vesterheim@uninett.no>
To: Pankaj Jangid <p4j@j4d.net>
Cc: "dick.r.chiang@gmail.com" <dick.r.chiang@gmail.com>,
"ding@gnus.org" <ding@gnus.org>
Subject: Re: How to change from address while in message buffer?
Date: Tue, 7 Jan 2020 11:41:41 +0000 [thread overview]
Message-ID: <1sk163ebnv.fsf@uninett.no> (raw)
In-Reply-To: <0100016f7f9b6cfe-e3b6d38a-537d-4217-beaf-a26b98439fdb-000000@email.amazonses.com> (Pankaj Jangid's message of "Tue, 7 Jan 2020 10:44:50 +0000")
On Tue, 7 Jan 2020 10:44:50 +0000 Pankaj Jangid <p4j@j4d.net> wrote:
> In the group buffer I pressed m to create a new message. It picked my
> default user-mail-address. Now when I invoked gnus-alias-select-identity
> and selected 'opt' from above list, it shows that the From header is
> replaced but MTA is trying to send email via different SMTP server where
> the authentication obviously fails.
If you want to use different SMTP methods for different identities, you
can insert the header "X-Message-SMTP-Method" like this:
(setq gnus-alias-identity-alist
'(("opt"
nil
"Pankaj Jangid <pankaj.jangid@optimizory.com>"
"Optimizory"
nil nil nil)
("gml"
nil
"Pankaj Jangid <pankaj.jangid@gmail.com>"
nil nil nil nil)
("j4d"
nil
"Pankaj Jangid <p4j@j4d.net>"
"J4D Networks"
(("X-Message-SMTP-Method" . "smtp mysmtp.host.com 587 username")) nil nil)))
BTW: I have created a function for "cycling" through the identities
(with a keybinding). See https://github.com/vv3/gnus-alias
--
Vennlig hilsen/Best regards
Vegard Vesterheim
Senior Software engineer
+47 48 11 98 98
vegard.vesterheim@uninett.no
next prev parent reply other threads:[~2020-01-07 11:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-06 9:57 Pankaj Jangid
2020-01-06 21:42 ` dick.r.chiang
2020-01-06 22:33 ` Eric Abrahamsen
2020-01-06 23:39 ` dick.r.chiang
2020-01-07 4:12 ` Eric Abrahamsen
2020-01-07 6:29 ` Pankaj Jangid
2020-01-07 17:32 ` If you read this instead of my name it worked for me
2020-01-07 17:43 ` Eric Abrahamsen
2020-01-07 6:28 ` Vincent Bernat
2020-01-09 1:55 ` 황병희
2020-01-10 5:59 ` Bob Newell
2020-01-18 1:59 ` 황병희
2020-01-07 7:58 ` Vegard Vesterheim
2020-01-07 10:44 ` Pankaj Jangid
2020-01-07 11:41 ` Vegard Vesterheim [this message]
2020-01-07 16:19 ` Pankaj Jangid
2020-01-06 22:08 ` Malcolm Purvis
2020-01-07 6:38 ` Pankaj Jangid
2020-02-07 13:42 ` Helmut Waitzmann
2020-02-07 22:09 ` Helmut Waitzmann
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=1sk163ebnv.fsf@uninett.no \
--to=vegard.vesterheim@uninett.no \
--cc=dick.r.chiang@gmail.com \
--cc=ding@gnus.org \
--cc=p4j@j4d.net \
/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).