all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: help-gnu-emacs@gnu.org
Subject: Re: Multiple "outgoing" email accounts.
Date: Sat, 08 Feb 2014 15:46:39 -0400	[thread overview]
Message-ID: <87k3d5xu8w.fsf@moondust.localdomain> (raw)
In-Reply-To: mailman.14149.1391839983.10748.help-gnu-emacs@gnu.org


Answering some of my own questions about the "X-Message-SMTP-Method"
header following some experimentation:

>> 1. Does the header get removed before the mail is sent?

Yes, it does. It would have been surprising if it didn't of course, but
I didn't see anything in the documentation that mentions this.

>> 2. Can one omit the port number and leave that to be retrieved from
>> the .authinfo file?

No. Sending the mail seems to fail if the port number is omitted.

I don't really understand what's going on here. At some point something
must be consulting my .authinfo file to retreive the password for my
smtp sever. It's not clear to me why it doesn't get the port number from
there as well.

And what about the settings of variables like smtpmail-smtp-service,
smtpmail-starttls-credentials, smtpmail-auth-credentials etc.? Do they
get factored in to the mix, or are they ignored when the
"X-Message-SMTP-Method" header is used?

>> It would seem like an excessive amount of work, and error prone, to
>> type in something like
>>
>>      X-Message-SMTP-Method: smtp smtp.fsf.org 587 other-user
>>
>> every time I want to send an email.

Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> I think the idea is to use posting styles to tell gnus to set up the
> appropriate STMP method header, depending on your From address.

I'm not quite organised to use posting styles yet. In the interim I have
set up an abbrev to expand to a "From" header and
"X-Message-SMTP-Method" header for each of my smtp accounts which seems
to work well enough for the time being.


  parent reply	other threads:[~2014-02-08 19:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06 20:30 Multiple "outgoing" email accounts E Sabof
2014-02-06 20:47 ` Herbert J. Skuhra
2014-02-06 22:02   ` E Sabof
2014-02-07 17:42     ` William G Gardella
     [not found]     ` <mailman.14081.1391794971.10748.help-gnu-emacs@gnu.org>
2014-02-08  4:22       ` N. Jackson
2014-02-08  6:14         ` Eric Abrahamsen
2014-02-10 11:07           ` Rasmus
     [not found]         ` <mailman.14149.1391839983.10748.help-gnu-emacs@gnu.org>
2014-02-08 19:46           ` N. Jackson [this message]
2014-02-07  0:34 ` E Sabof

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=87k3d5xu8w.fsf@moondust.localdomain \
    --to=nljlistbox2@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.