Gnus development mailing list
 help / color / mirror / Atom feed
* connect to ssl pop
@ 2007-06-05 12:42 Leo
  2007-06-05 15:05 ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2007-06-05 12:42 UTC (permalink / raw)
  To: ding

Dear Gnus,

In the following example setting, connecting to the pop server will be
using gnutls-cli. But it seems that openssl is heavily optimized and
provides better performance.

Would it be better to use openssl instead? Or provide a way to use
openssl for connecting to ssl pop?

(setq mail-sources
      '((pop :server "pop.gmail.com"
	     :port 995
	     :user "user"
             :stream ssl
	     :password "pw")))

Thanks,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)




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

* Re: connect to ssl pop
  2007-06-05 12:42 connect to ssl pop Leo
@ 2007-06-05 15:05 ` Tassilo Horn
  0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2007-06-05 15:05 UTC (permalink / raw)
  To: ding

Leo <sdl.web@gmail.com> writes:

Hi Leo,

> Would it be better to use openssl instead?

Dunno, just try it.

> Or provide a way to use openssl for connecting to ssl pop?

I think this can be done by changing the variable

,----[ C-h v tls-program RET ]
| tls-program is a variable defined in `tls.el'.
| Its value is 
| ("gnutls-cli -p %p %h" "gnutls-cli -p %p %h --protocols ssl3" 
|  "openssl s_client -connect %h:%p -no_ssl2")
|
| Documentation:
| List of strings containing commands to start TLS stream to a host.
| Each entry in the list is tried until a connection is successful.  %h
| is replaced with server hostname, %p with port to connect to.  The
| program should read input on stdin and write output to stdout.  Also
| see `tls-success' for what the program should output after successful
| negotiation.
`----

So basically

(setq tls-program '("openssl s_client -connect %h:%p -no_ssl2"
                    "gnutls-cli -p %p %h"
                    "gnutls-cli -p %p %h --protocols ssl3"))

should do the trick.

Bye,
Tassilo
-- 
Science  Fact: Roundhouse kicks  are comprised  primarily of  an element
called Chucktanium.




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

end of thread, other threads:[~2007-06-05 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-05 12:42 connect to ssl pop Leo
2007-06-05 15:05 ` Tassilo Horn

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 NNTP newsgroup(s).