bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15669: 24.2; smtpmail asks for password for anonymous logins


From: Uday S Reddy
Subject: bug#15669: 24.2; smtpmail asks for password for anonymous logins
Date: Mon, 21 Oct 2013 08:35:42 +0100

I use an SMTP server that uses anonymous login with no password.  With Emacs
24.2, with auth-sources loaded, I find that sending a message through
mail-mode asks for a password.  No password should be required for anonymous
login.  This problem did not occur with Emacs 23.

Looking through the code, I trace the problem to the function
`smtpmail-try-auth-methods' which has the comment

      ;; The user has stored the user name, but not the password, so
      ;; ask for the password, even if we're not forcing that through
      ;; `ask-for-password'.

This code is getting fired even when `user' has the value "anonymous".

Cheers,
Uday


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
d:/gnu/emacs-24.2/etc/DEBUG.


In GNU Emacs 24.2.1 (i386-mingw-nt5.1.2600)
 of 2012-08-29 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: VM Summary

Minor modes in effect:
  shell-dirtrack-mode: t
  savehist-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-r p a s s w o r d C-s C-r C-r C-a C-x c <return> 
M-x a u t h - s o u r c e SPC f o r SPC SPC SPC <return> 
C-x m C-x o C-x m u d r C-n C-e t e t <backspace> s 
t SPC f r m <backspace> <backspace> r o m SPC E m a 
c s SPC 2 4 <return> <backspace> C-c C-c <return> C-x 
b * s c SPC <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<return> <f1> C-x . M-x s u b m i t SPC SPC <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
r e p o r t - e m SPC SPC b SPC <return> s m t p m 
a i l SPC a k s SPC f o r <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> s k s SPC f o r 
SPC p a s s w o r d SPC f o r SPC a n o n y m o u s 
SPC l o g i n <return> C-x b <return> M-x C-g C-x <escape> 
<escape> <up> <up> <up> <up> <up> C-g C-x m C-x k <return> 
M-x r e p o r t - e m a c s - b u SPC <return>

Recent messages:
Sending email 
Sending email done
250 OK id=1VY9p6-0004Bw-Lr
221 mx1.cs.bham.ac.uk closing connection
Sending...done
Mark set
Making completion list...
and: Wrong type argument: arrayp, nil
Quit [2 times]
`mail to _ on ""' is gone forever!

Load-path shadows:
d:/Home/udr/share/emacs/sml-mode hides d:/gnu/emacs-24.2/../site-lisp/sml-mode
d:/Home/udr/share/emacs/session hides d:/gnu/emacs-24.2/../site-lisp/session
d:/Home/udr/share/emacs/savehist-20+ hides 
d:/gnu/emacs-24.2/../site-lisp/savehist-20+
d:/Home/udr/share/emacs/outline-magic hides 
d:/gnu/emacs-24.2/../site-lisp/outline-magic
d:/Home/udr/share/emacs/longlines hides d:/gnu/emacs-24.2/../site-lisp/longlines
d:/Home/udr/share/emacs/esmtpmail hides d:/gnu/emacs-24.2/../site-lisp/esmtpmail
d:/Home/udr/share/emacs/buf-sel hides d:/gnu/emacs-24.2/../site-lisp/buf-sel
d:/Home/udr/share/emacs/longlines hides d:/gnu/emacs-24.2/lisp/longlines
d:/gnu/packages/bbdb-2013-01/lisp/loaddefs hides d:/gnu/emacs-24.2/lisp/loaddefs
d:/gnu/emacs-24.2/../site-lisp/electric hides d:/gnu/emacs-24.2/lisp/electric
d:/gnu/emacs-24.2/../site-lisp/debug hides 
d:/gnu/emacs-24.2/lisp/emacs-lisp/debug

Features:
(shadow emacsbug vm-pine pp info cus-edit cus-start cus-load find-dired
shell haskell-doc imenu haskell-indentation haskell-font-lock haskell-mode
reposition skeleton sgml-mode thingatpt vm-mark mule-util rfc2368 debug
wdired bibcmds ediff-merg ediff-diff ediff-wind ediff-help ediff-util
ediff-mult ediff-init ediff tabify texmathp dired-aux flyspell ispell
mail-extr newcomment vm-digest message mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 gmm-utils mailheader smtpmail mailalias org-wl
org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs
org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info
org-gnus org-docview org-bibtex bibtex org-bbdb org ob-emacs-lisp ob-tangle
ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval
org-pcomplete pcomplete comint ansi-color org-list org-faces org-compat
org-entities org-macs format-spec cal-menu calendar cal-loaddefs misearch
multi-isearch preview prv-emacs tex-buf font-latex latex tex-style tex
latexenc help-mode view vm-delete rfc822 w3m-form w3m browse-url doc-view
jka-compr image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems wid-edit w3m-ccl
ccl w3m-favicon w3m-image w3m-proc w3m-util vm-w3m utf-7 gnutls
network-stream starttls tls vm-save tapestry vm-sort u-vm-color my-vm vc-bzr
etags ring vm-ps-print vm-rfaddons vm-undo vm-page bbdb-vm vm-message
vm-macro vm-autoload bbdb-mua bbdb-com mailabbrev vm dired-x mydired dired
outline-magic noutline outline yasnippet-autoloads package tabulated-list
server w3m-load bbdb-loaddefs bbdb easymenu vm-reply vm-virtual
vm-summary-faces vm-pop utf7 vm-imap vm-thread vm-mime vm-motion vm-mouse
vm-toolbar vm-menu vm-window vm-crypto vm-summary vm-folder vm-minibuf
vm-misc timezone vm-pcrisis vm-autoloads vm-version vm-vars myautopair
autopair warnings savehist session movement natural-space NatSpeak sendmail
rfc2047 rfc2045 ietf-drums mail-utils auth-source eieio byte-opt bytecomp
byte-compile cconv macroexp assoc gnus-util mm-util mail-prsvr
password-cache epa-file epa epg epg-config regexp-opt paren echistory
chistory ehelp electric easy-mmode cl derived advice help-fns advice-preload
edmacro kmacro preview-latex tex-site auto-loads time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp
w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook
help simple abbrev minibuffer loaddefs button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process multi-tty
emacs)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]