Re: OpenSSL with SMTP mail instead of GnuTLS

2008-09-19 Thread Phil Lord
On Sep 19, 2:28 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 On Sep 19, 12:44 am, Phil Lord [EMAIL PROTECTED] wrote:

 Now, I am able to get the part where data is sent up to the point
 where a dot character on a line by itself is sent.  I assume this is
 something like an EOF signal to the SMTP server.  However, nothing
 happens for a while after.  Then I get the read:errno=54 in the SMTP
 session trace buffer.

 Any ideas anyone?

 Also, I think smtpmail isn't really a part of Gnus so it has problems
 with OpenSSL where Gnus doesn't.

I think the key problem is just that smtpmail.el is old; the author
also
wrote GnuTLS -- it works best with this, but not on windows.

Actually, you might want to try a completely different option. I've
been following
instructions from on msmtp -- this is a lightweight SMTP client which
looks to the outside world
(specifically emacs!) like sendmail.

I've managed to get it working with cygwin -- will be trying Ubuntu
next, and it should work
on mac, although I have no ability to test these.

There's documentation on EmacsWiki about it; the config is a bit hairy
at the moment, so
I'll probably write a proper wrapper library for it at some point;
smptmail-openssl.el can then
be retired for the hack that it is.

Phil
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: OpenSSL with SMTP mail instead of GnuTLS

2008-09-19 Thread Sivaram Neelakantan
Phil Lord [EMAIL PROTECTED] writes:

 On Sep 19, 2:28 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 On Sep 19, 12:44 am, Phil Lord [EMAIL PROTECTED] wrote:


[...]

 Actually, you might want to try a completely different option. I've
 been following
 instructions from on msmtp -- this is a lightweight SMTP client which
 looks to the outside world
 (specifically emacs!) like sendmail.

 I've managed to get it working with cygwin -- will be trying Ubuntu
 next, and it should work
 on mac, although I have no ability to test these.

 There's documentation on EmacsWiki about it; the config is a bit
 hairy at the moment, so I'll probably write a proper wrapper library
 for it at some point; smptmail-openssl.el can then be retired for
 the hack that it is.

[...]
er...if you meant this link

http://www.emacswiki.org/cgi-bin/wiki/GnusMSMTP

I wrote some bits of it and others improved upon it.  If there is
anything which is not clear, do tell, I'll clean it up.  FWIW, the
last time I checked, msmtp worked on Windows+Emacs too without cygwin.

 sivaram
 -- 



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: OpenSSL with SMTP mail instead of GnuTLS

2008-09-19 Thread Phil Lord
On Sep 19, 5:58 pm, Sivaram Neelakantan [EMAIL PROTECTED]
wrote:
 Phil Lord [EMAIL PROTECTED] writes:
  On Sep 19, 2:28 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  On Sep 19, 12:44 am, Phil Lord [EMAIL PROTECTED] wrote:

 [...]

  Actually, you might want to try a completely different option. I've
  been following
  instructions from on msmtp -- this is a lightweight SMTP client which
  looks to the outside world
  (specifically emacs!) like sendmail.

  I've managed to get it working with cygwin -- will be trying Ubuntu
  next, and it should work
  on mac, although I have no ability to test these.

  There's documentation on EmacsWiki about it; the config is a bit
  hairy at the moment, so I'll probably write a proper wrapper library
  for it at some point; smptmail-openssl.el can then be retired for
  the hack that it is.

 [...]
 er...if you meant this link

 http://www.emacswiki.org/cgi-bin/wiki/GnusMSMTP

 I wrote some bits of it and others improved upon it.  If there is
 anything which is not clear, do tell, I'll clean it up.  FWIW, the
 last time I checked, msmtp worked on Windows+Emacs too without cygwin.

  sivaram
  --

Sorry, I didn't mean to be rude. The documentation is reasonably
clear. The only thing that would have made it better, I think, is a
short description of how to test your msmtp config from outside gnus,
on the command line. If you get this wrong, in my hands, emacs has a
tendency to hang and has to be killed. Try, for example, changing the
config to a random port. msmtp will now try to connect and emacs will
hang while it fails. In my hands, you need to kill the emacs process
to get out of this using task manager. Not the ideal environment for
experimentation.

For me, also, using the .msmtp config is not ideal, as I have to
duplicate between windows and ubuntu. So, what I would like to do is
write a new package, which duplicates the options of msmtp, so that
you can configure in emacs, using lisp.  Underneath, I'd expect it to
still use sendmail.el; no point rewriting this.

I'm not surprised it works wihtout cygwin, but it's good to know. For
me, a cygwin option is easier in practice, but either is fine.

Anyway, again, apologies for the implied rudeness of the last post; I
am very grateful for the stuff on EmacsWiki; it was invaluable to me.
It's probably going to form the basis of my email config for the next
few years at least!

Phil
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english