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: Wed, 05 Feb 2003 08:25:35 +0100 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20030203205741.1c0823a1.hall.cj@verizon.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044430187 3185 80.91.224.249 (5 Feb 2003 07:29:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2003 07:29:47 +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 18gK08-0000p7-00 for ; Wed, 05 Feb 2003 08:29:45 +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 18gK0z-0004lC-0A for gnu-help-gnu-emacs@m.gmane.org; Wed, 05 Feb 2003 02:30:37 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!news.kth.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: fnatte.nada.kth.se User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i386-debian-linux-gnu) X-Face: %bo>yc#X1.-jVa- 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:6314 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6314 Chris Hall writes: >> 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")) There are two parenthesis too much, try: (setq smtpmail-auth-credentials "~/.netrc") Customize is your friend, it makes sure you only use valid settings. >> > 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 It seems you must put everything on line, i.e.: machine outgoing.verizon.net port smtp login username password password This is probably a bug in netrc.el, your syntax looks valid according to ftp(1). Maybe you don't ever need the port setting.