* smtpmail.el
@ 2002-04-26 14:55 Sam Steingold
2002-04-26 20:51 ` smtpmail.el Simon Josefsson
0 siblings, 1 reply; 2+ messages in thread
From: Sam Steingold @ 2002-04-26 14:55 UTC (permalink / raw)
Cc: emacs-devel
Your recent patches to smtpmail.el broke it for me.
In `smtpmail-try-auth-methods', the `supported-extensions' does not
have 'auth, so `mechs' is nil, `mech' is nil, and I am asked for a
(useless!) password before getting
(error "Mechanism %s not implemented" nil)
For now, I just use the appended patch.
Is it okay to check it in?
--
Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.palestine-central.com/> <http://www.mideasttruth.com/>
There is Truth, and its value is T. Or just non-NIL. So 0 is True!
--- smtpmail.el.~1.40.~ Fri Apr 26 08:03:58 2002
+++ smtpmail.el Fri Apr 26 10:55:09 2002
@@ -477,7 +477,7 @@
(netrc-get hostentry "password")))
(smtpmail-find-credentials
smtpmail-auth-credentials host port)))
- (passwd (when cred
+ (passwd (when (and mech cred)
(or (smtpmail-cred-passwd cred)
(read-passwd
(format "SMTP password for %s:%s: "
@@ -520,8 +520,8 @@
(not (integerp (car ret)))
(>= (car ret) 400))
(throw 'done nil)))
- (t
- (error "Mechanism %s not implemented" mech)))
+ (t ;; no auth mech - do nothing
+ ))
;; Remember the password.
(when (and (not (stringp smtpmail-auth-credentials))
(null (smtpmail-cred-passwd cred)))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: smtpmail.el
2002-04-26 14:55 smtpmail.el Sam Steingold
@ 2002-04-26 20:51 ` Simon Josefsson
0 siblings, 0 replies; 2+ messages in thread
From: Simon Josefsson @ 2002-04-26 20:51 UTC (permalink / raw)
Cc: emacs-devel
Yes, it looks alright. Except possible to `else' clause, isn't it OK to
warn about if no supported mechanism was supported? I'm not sure just
ignoring it is OK. Well, the server would reject the submission saying
that no authentication was performed, but the user would be somewhat
surprised since she did supply credentials, but the real problems was that
smtpmail.el didn't support the SASL mechanism offered by the server.
On 26 Apr 2002, Sam Steingold wrote:
> Your recent patches to smtpmail.el broke it for me.
> In `smtpmail-try-auth-methods', the `supported-extensions' does not
> have 'auth, so `mechs' is nil, `mech' is nil, and I am asked for a
> (useless!) password before getting
> (error "Mechanism %s not implemented" nil)
> For now, I just use the appended patch.
> Is it okay to check it in?
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-26 20:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-26 14:55 smtpmail.el Sam Steingold
2002-04-26 20:51 ` smtpmail.el Simon Josefsson
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.