all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs 21.2, smtpmail and vm
@ 2003-01-28 12:22 Chris Hall
  2003-01-28 17:12 ` Kai Großjohann
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: Chris Hall @ 2003-01-28 12:22 UTC (permalink / raw)


I'm sure this is probably already really old news, but I've spent over
12 hours on this already (though I have learned a lot - mostly good).

I've been using Emacs 20.7 for a years, vm and smtpmail for a couple.
Got 'em, installed 'em, configured 'em and ran 'em.  No problem, maybe
a couple of hours max on the mail-related portions, happy as a clam.

Switched ISP's a while back, requires SMTP AUTH, I had been using
other mail clients, they no problem w/SMTP AUTH.

Decided to switch back to vm, 'cuz whatever its faults, it being in
Emacs means a lot me.

Now the problem: SMTP AUTH not supported.  Upgrade vm.  No luck, check
the web, upgrade sendmail.el, smtpmail.el (from e-mails) and started
getting 'mail-envelope-from' 'Symbol definition void'.  Checked some
more, played w/various nil/non-nil 'use-mail-envelope'-like settings -
no change in behavior, at all. It seems, from what I've found (via
Google mostly) that there _were_ maybe a series of problems along
these lines?

Found some patches, from COMMITs and the like - none of 'em would even
apply on any of the versions of sendmail.el/smtpmail.el that I had on
my box.  I was especially interested in the couple that actually
*defined* a function 'mail-envelope-from'.

Read the sources for sendmail.el/smtpmail.el, manual for vm: it's got
to be in my .emacs, at this point I figuring, right?  Well, I sure
can't seem to find it.

BTW, I don't what I am doing wrong, but I have had less luck trying to
find a free-standing version of sendmail.el/smtpmail.el, current or
otherwise than any other file I have searched for in the last six
years.  Though there should be 29-49 versions, depending on which patch
I was looking at.

One sure way though, right?  Though not what anybody would exactly
call 'freestanding': last night, I grabbed the Emacs 21.2 sources from
gnu.org, built me the latest and greatest (stable - I think stable is
great in my 'hammer'.) (I thought I liked Emacs *before*!)  and sure
enough : new copies of sendmail.el/smtpmail.el!

With either the same exact 'bug'/behavior, or one displaying exactly
the same symptoms, i.e., error message.  And, vm won't initialize the
first time: some frickin silly back-trace at this point, (and I have
left out various twiddles in .emacs, C-h v's, 'set-variables', so on)
I'm losing steam.  Vm initalizes on the second try in the same Emacs
session, but the purty toolbar icons are gone, now just mere
rectangular outlines. But vm reads any mail sitting on my ISPs box,
and everything else seems normal enough, I can at least read my mail,
which is OK - mice are more distraction than truly useful, don't much
care about the icons, in my view.  Though those icons sure are purty.

Losin enthusiam, too - Sylpheed is looking like it wasn't so bad 
after all.

I would much appreciate any suggestions as to which tree I should be 
barking up.


+Chris Hall

-- 
"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 

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: Emacs 21.2, smtpmail and vm
@ 2003-01-29 11:00 Chris Hall
  0 siblings, 0 replies; 27+ messages in thread
From: Chris Hall @ 2003-01-29 11:00 UTC (permalink / raw)


Thanks for all the feedback - it proved to be just what I needed.

Baaad message gone!  Icons not as purty as when I only glimpsed them for
a second!

It seems I found the problem, and my .emacs has received a long overdue
inspection and clean-up.

It seems that 21.2 incorporates a surprising amount of what were
previously my favorite add-ons.  (Yay! No more checking for updates
when things seem funny!) I read the change notices for 21.2 (boy did
that take a while!) and started yanking everything 21.2 had sucked in:
speedbar, EUDC, and a few others.

But, I think the real culprit was a one-liner 'mailaddress.el' that I
somehow missed during my repeated wanderings down the load-path the last
couple of nights - it was in a site-lisp/ I had forgotten about, and
thought was gone.

Stop me if you've heard this one:
Equine Mammals Are Considerably Smaller!  (I also read JOKES for the
first time)

Thanks everyone, or as we say here in Hawaii: Mahalo!

Next stop: SMTP AUTH patch!

(I would have used gnus to respond, but I'm too tired to remember how to
display 'read' message. G'nite.)


-- 
"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 

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Emacs 21.2, smtpmail, and vm
@ 2003-02-03  1:39 Chris Hall
  2003-02-03  8:25 ` Kai Großjohann
  2003-02-03 10:30 ` Simon Josefsson
  0 siblings, 2 replies; 27+ messages in thread
From: Chris Hall @ 2003-02-03  1:39 UTC (permalink / raw)


I'm baaaack!

Well, after many more hours futzin' around with smtpmail and vm in my
beeeyoootiful new Emacs 21.2, I *still* can't get it work, but I do
have some feedback on the recent CVS version of smtpmail, if anyone is
interested.

BTW, 1) I am *not* what anyone would proficient in elisp, but I do
have a some degree of familiarity with it, 2) I'm a bit curious as to
why elisp CVS files don't contain their version - I got the most
recent version of sendmail and smtpmail 3 or 4 nights ago.

Situation : my ISP requires AUTH LOGIN PLAIN.  I use VM as my mail
reader.  I can read my mail no problem.  Sending it though . . .

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.

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.

smtpmail then blows off with an argument mismatch somewhere in
smtpmail-try-auth-methods : 'smtpmail-try-auth-methods: Wrong type
argument : stringp, nil'.

So close!

FWIW, I commented out the last step in smtpmail-try-auth-methods (save
the password) and still got the same error.

My friends are irritated with me - I have spent so much time on this
(well, mail systems and RFCs in general too, to be honest), that I
have been neglecting our server, so I'll try again maybe in a week or
two.  (They don't seem to find mail systems nearly as interesting as I
have lately.)

Or not: I can successfully mail to our server using vm/smtpmail (over
port-forwarded ssh, of course!), and I think I'll set up our Postfix
to relay appropriate mail to my ISP. And maybe have my ISP forward my
mail to our server.

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.

-- 
"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

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2003-02-05  7:25 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-28 12:22 Emacs 21.2, smtpmail and vm 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
  -- strict thread matches above, loose matches on Subject: below --
2003-01-29 11:00 Chris Hall
2003-02-03  1:39 Emacs 21.2, smtpmail, " 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
2003-02-04  9:30     ` Kai Großjohann
2003-02-05  7:25     ` Simon Josefsson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.