unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Chris Hall <hall.cj@verizon.net>
Subject: Re: Emacs 21.2, smtpmail, and vm
Date: Tue, 04 Feb 2003 06:45:10 GMT	[thread overview]
Message-ID: <20030203205741.1c0823a1.hall.cj@verizon.net> (raw)
In-Reply-To: iluisw18xmd.fsf@latte.josefsson.org

On Mon, 03 Feb 2003 11:30:34 +0100
Simon Josefsson <jas@extundo.com> wrote:

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

  reply	other threads:[~2003-02-04  6:45 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-03  1:39 Emacs 21.2, smtpmail, and vm Chris Hall
2003-02-03  8:25 ` Kai Großjohann
2003-02-04  6:18   ` Chris Hall
2003-02-03 10:30 ` Simon Josefsson
2003-02-04  6:45   ` Chris Hall [this message]
2003-02-04  9:30     ` Kai Großjohann
2003-02-05  7:25     ` Simon Josefsson
  -- strict thread matches above, loose matches on Subject: below --
2003-01-29 11:00 Emacs 21.2, smtpmail " Chris Hall
2003-01-28 12:22 Chris Hall
2003-01-28 17:12 ` Kai Großjohann
2003-01-29 10:06   ` Chris Hall
2003-01-28 18:13 ` Kevin Rodgers
2003-01-29 10:04   ` Chris Hall
2003-01-28 19:06 ` Stefan Monnier <foo@acm.com>
2003-01-29 10:08   ` Chris Hall
2003-01-29 17:29   ` Simon Josefsson
2003-01-29 18:53     ` Stefan Monnier <foo@acm.com>
2003-01-29 19:55       ` Kai Großjohann
2003-01-29 20:42         ` Stefan Monnier <foo@acm.com>
2003-01-30  0:06       ` Simon Josefsson
2003-01-30 15:40         ` Stefan Monnier <foo@acm.com>
2003-01-30 21:01           ` Simon Josefsson
2003-01-28 20:19 ` Martin Stemplinger
2003-01-29 10:15   ` Chris Hall
2003-01-29 17:25   ` Simon Josefsson
2003-01-30 20:18     ` Martin Stemplinger
2003-01-30 20:52       ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030203205741.1c0823a1.hall.cj@verizon.net \
    --to=hall.cj@verizon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).