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

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

smtpmail authentication problem


From: Steve Allan
Subject: smtpmail authentication problem
Date: Sun, 04 Dec 2005 13:47:51 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I'm using smtpmail-send-it from smtpmail.el to send email through
Verizon.  Verizon requires smtp authentication, so I've set

(setq smtpmail-auth-credentials 
      (quote (("outgoing.verizon.net" 25 "myusername" nil))))

With the password set to nil, I get prompted for my password, but it
never gets sent to the smtp server, so authentication fails.  

The problem is in the function smtpmail-try-auth-methods.  There's
logic which sets 'passwd' by checking the credentials and prompting if
the password is not found.  But that variable is not used in the
section of the code that sends the authenication string.

I fixed the problem by making this change:

BEGIN DIFF
*** smtpmail-broken.el  Sun Dec  4 13:28:54 2005
--- smtpmail.el Sun Dec  4 13:33:02 2005
***************
*** 569,575 ****
                                        (concat "\0"
                                                (smtpmail-cred-user cred)
                                                "\0"
!                                               (smtpmail-cred-passwd cred))))
        (if (or (null (car (setq ret (smtpmail-read-response process))))
                (not (integerp (car ret)))
                (not (equal (car ret) 235)))
--- 569,575 ----
                                        (concat "\0"
                                                (smtpmail-cred-user cred)
                                                "\0"
!                                               passwd)))
        (if (or (null (car (setq ret (smtpmail-read-response process))))
                (not (integerp (car ret)))
                (not (equal (car ret) 235)))
END DIFF

As per the instructions in the info manual, I used 'C-x 4 a' to
annotate the changelog, but since I'm not committing anything to CVS, I
don't know what good that does :)

Please let me know if I didn't submit the patch the right way.  I Hope
this is helpful. Thanks.

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'.
If you would like to further debug the crash, please read the file
d:/sw/emacs-22.0/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
 of 2005-11-27 on STEVEA-LAPTOP
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.2)'

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
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  iswitchb-mode: t
  display-time-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
W W c W W c SPC SPC SPC n SPC SPC h <help-echo> W W 
c W W c SPC SPC SPC SPC SPC <help-echo> <help-echo> 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC W W c SPC SPC SPC SPC SPC q g p p <return> <return> 
<escape> g C-p <return> <switch-frame> M-x r e p o 
r - <backspace> t - e m <tab> <return>

Recent messages:
Loading url-auth...done
Loading url-http...done
w3-load-flavors: Cannot open load file: w3-e22
nnml: Reading incoming mail from pop...
nnml: Reading incoming mail (no new mail)...done
Retrieving newsgroup: nnml+incoming.verizon.net:mail.misc...
Fetching headers for nnml+incoming.verizon.net:mail.misc...done
Generating summary...done
No more unread articles
Loading emacsbug...done

-- 
-- Steve




reply via email to

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