[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15669: 24.2; smtpmail asks for password for anonymous logins
From: |
Ted Zlatanov |
Subject: |
bug#15669: 24.2; smtpmail asks for password for anonymous logins |
Date: |
Tue, 22 Oct 2013 09:22:02 -0400 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
On Mon, 21 Oct 2013 08:35:42 +0100 Uday S Reddy <u.s.reddy@cs.bham.ac.uk>
wrote:
USR> I use an SMTP server that uses anonymous login with no password. With
Emacs
USR> 24.2, with auth-sources loaded, I find that sending a message through
USR> mail-mode asks for a password. No password should be required for
anonymous
USR> login. This problem did not occur with Emacs 23.
USR> Looking through the code, I trace the problem to the function
USR> `smtpmail-try-auth-methods' which has the comment
USR> ;; The user has stored the user name, but not the password, so
USR> ;; ask for the password, even if we're not forcing that through
USR> ;; `ask-for-password'.
USR> This code is getting fired even when `user' has the value "anonymous".
I don't think `anonymous' is a special user name for SMTP, right? We
should really be looking at the SMTP response?
Can you use any password or does it have be empty?
Ted