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

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

Re: Emacs 21.2, smtpmail, and vm


From: Simon Josefsson
Subject: Re: Emacs 21.2, smtpmail, and vm
Date: Wed, 05 Feb 2003 08:25:35 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i386-debian-linux-gnu)

Chris Hall <hall.cj@verizon.net> 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.


reply via email to

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