From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.help Subject: Re: Emacs 21.2, smtpmail, and vm Date: Mon, 03 Feb 2003 11:30:34 +0100 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044269382 20076 80.91.224.249 (3 Feb 2003 10:49:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2003 10:49:42 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18feAX-0005De-00 for ; Mon, 03 Feb 2003 11:49:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18feBM-0006ze-01 for gnu-help-gnu-emacs@m.gmane.org; Mon, 03 Feb 2003 05:50:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!news.kth.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: knatte.nada.kth.se User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i386-debian-linux-gnu) X-Face: )=Tu!-Q9f9BQASOHl~_&4r0`,OQD2*=;cm+4]m[twz:8t5yt@xQW+:T$K%AdKq)`"g; C%>s /8w~Upcau`W2wh$=#"g7]"[2c; 1Z/S:B49XEy$-YlaAGc'ZM&U*el'yQAD"c):Lc:fUD-S=\!EV;n@ 1Jff} Cancel-Lock: sha1:0CMH0kOGCGGfuPlC6Yk8rSkvNoM= Original-Xref: shelby.stanford.edu gnu.emacs.help:109713 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6226 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6226 Chris Hall writes: > If I set smtpmail-auth-credentials as specified in the smtpmail > preface comments, '("smtp hostname" 25 "username" "passord")' > smtpmail-try-auth-methods won't find *any* credentials, and > immediately sends 'MAIL FROM:' to my ISP, which then says > 'authorization required', and closes the connection. What does C-h v on the variable tell? The setting you quote seem incorrect. If you are unsure about what the variable should contain, I suggest using M-x customize-variable RET smtpmail-auth-credentials RET. > If I set credentials to a .netrc file (!) (after of course returning > to CVS, getting a copy of netrc.el and putting it in my load-path), I > get prompted for a password, even though it is already in .netrc, and > authentication proceeds - the smtp trace buffer shows the base64 > exchange between vm and my ISP. What did the .netrc line look like? Maybe you need to add "port smtp". > smtpmail then blows off with an argument mismatch somewhere in > smtpmail-try-auth-methods : 'smtpmail-try-auth-methods: Wrong type > argument : stringp, nil'. M-x toggle-debug-on-error RET to get the full backtrace. > And Simon, if you read this, I tried the patched version from your > website: it didn't seem to support AUTH LOGIN, only AUTH CRAM-MD5, > though the CVS version I'm using now does. The web site version is for older emacsen, it is always better to try with the CVS version if you are interested in reporting your findings.