From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Hall Newsgroups: gmane.emacs.help Subject: Re: Emacs 21.2, smtpmail, and vm Date: Tue, 04 Feb 2003 06:45:10 GMT Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20030203205741.1c0823a1.hall.cj@verizon.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1044341104 18814 80.91.224.249 (4 Feb 2003 06:45:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2003 06:45:04 +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 18fwpI-0004sv-00 for ; Tue, 04 Feb 2003 07:45:01 +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 18fwpq-00060H-03 for gnu-help-gnu-emacs@m.gmane.org; Tue, 04 Feb 2003 01:45:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc02.gnilink.net.POSTED!1f18d88b!not-for-mail Original-Newsgroups: gnu.emacs.help X-Newsreader: Sylpheed version 0.8.9 (GTK+ 1.2.9; i686-pc-linux-gnu) Original-Lines: 64 Original-NNTP-Posting-Host: 4.65.55.48 Original-X-Complaints-To: abuse@verizon.net Original-X-Trace: nwrddc02.gnilink.net 1044341110 4.65.55.48 (Tue, 04 Feb 2003 01:45:10 Z–Ï) Original-NNTP-Posting-Date: Tue, 04 Feb 2003 01:45:10 Z–Ï Original-Xref: shelby.stanford.edu gnu.emacs.help:109762 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:6272 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6272 On Mon, 03 Feb 2003 11:30:34 +0100 Simon Josefsson wrote: > 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. (setq smtpmail-auth-credentials ; or use ~/.authinfo '(("~/.netrc"))) ("outgoing.verizon.net" 25 "username" "password")) > > > 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". > machine outgoing.verizon.net port smtp <-- After I read your message. Is this the right place? login username password password > > 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. Thanks! I can see you've been busy with it! I haven't used the newsgroups much, but since I use free software so much, I thought I'd try and save someone else some time, or at least find out what I did wrong. And I thought that since the code in CVS was under development, that it would be OK to mention what I discovered. I'm glad you are taking the time to implement this! -- "No nation can preserve its freedom in the midst of continual warfare." -- James Madison, Secretary of State to Mr. Jefferson, and 4th President "My confidence is that there will for a long time be virtue and good sense enough in our countrymen to correct abuses." --Thomas Jefferson to Edward Rutledge, 1788. ME 7:81