From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Cc: ding@gnus.org
Subject: Re: Outgoing mail defaults
Date: Sun, 20 Mar 2011 07:20:56 -0500 [thread overview]
Message-ID: <8739miq8yf.fsf@lifelogs.com> (raw)
In-Reply-To: jwv1v224hn4.fsf-monnier+emacs@gnu.org
On Sat, 19 Mar 2011 23:06:25 -0400 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> I'd like to make it possible to have the line
>> machine mysmtphost port smtp
>> in the authinfo.gpg file. I would do this by changing the example code
SM> I'm not sure I understand what you're suggesting: AFAIK auto-source
SM> maintains a database of how to connect to a given host, not which host
SM> to use for which kind of service.
SM> Or are you suggesting the smtpmail should default to using "whichever
SM> host name appears in .authinfo where the associated port is `smtp'"?
The first such host name, yes. There are really two cases: SMTP with
and without passwords. Because I think the former should try to use
auth-source I'm trying to make the latter use it as well. I can
understand if it seems like overkill.
How about this approach for first-time setup if people don't like the
above, which avoids the "first found host" solution:
1) ask the user about the SMTP server name if `smtpmail-auth-source' is
nil (the default)
2) ask the user if the server connection info should be saved through
auth-source
3) if yes, do the auth-source creation prompts for user, port, and
password
4) use Customize to save `smtpmail-host', `smtpmail-port', and
`smtpmail-auth-source' to t or 'never according to (2). From now on the
user will either just use `smtpmail-host' and `smtpmail-port' or call
`auth-source-search' with :host ,smtpmail-host and (if the port is not
nil) :port ,smtpmail-port
Ted
next prev parent reply other threads:[~2011-03-20 12:20 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-17 17:04 Outgoing mail defaults Lars Magne Ingebrigtsen
2011-03-17 17:17 ` Ted Zlatanov
2011-03-17 17:31 ` Lars Magne Ingebrigtsen
2011-03-17 18:18 ` Ted Zlatanov
2011-03-17 18:33 ` Lars Magne Ingebrigtsen
2011-03-17 19:35 ` Ted Zlatanov
2011-03-17 17:25 ` David Reitter
2011-03-17 17:43 ` Lars Magne Ingebrigtsen
2011-03-17 18:22 ` Ted Zlatanov
2011-03-18 14:10 ` John Sullivan
2011-03-17 19:02 ` David Reitter
2011-03-17 22:27 ` chad
2011-03-18 2:38 ` Ted Zlatanov
2011-03-18 4:17 ` chad
[not found] ` <87bp14ntn8.fsf@topper.koldfront.dk>
2011-03-21 19:50 ` Ted Zlatanov
2011-03-17 20:57 ` Stefan Monnier
2011-03-19 19:11 ` Chong Yidong
2011-03-20 1:41 ` Ted Zlatanov
2011-03-20 3:06 ` Stefan Monnier
2011-03-20 12:20 ` Ted Zlatanov [this message]
2011-03-21 14:20 ` Stefan Monnier
2011-03-21 19:42 ` Ted Zlatanov
2011-03-21 22:14 ` Stefan Monnier
2011-03-22 2:01 ` Ted Zlatanov
2011-03-29 19:22 ` Lars Magne Ingebrigtsen
2011-03-29 19:34 ` Application resource storage (was: Outgoing mail defaults) Lars Magne Ingebrigtsen
2011-03-29 19:58 ` Application resource storage Ted Zlatanov
2011-03-29 20:14 ` Lars Magne Ingebrigtsen
2011-03-29 21:02 ` Ted Zlatanov
2011-03-29 20:51 ` chad
2011-03-29 21:23 ` Outgoing mail defaults Stefan Monnier
2011-03-22 11:26 ` Simon Josefsson
2011-04-16 16:45 ` Lars Magne Ingebrigtsen
2011-04-16 16:47 ` Lars Magne Ingebrigtsen
2011-04-16 16:51 ` Ted Zlatanov
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=8739miq8yf.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=ding@gnus.org \
--cc=emacs-devel@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.