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

stunnel, vm-7.19 and ubuntu



Hi,

I also had a problem using stunnel and found that i needed to use
/usr/bin/stunnel4 instead of /usr/bin/stunnel.  My problem was
actually on debian, but i hope this is some help.

Here are all the relevant lines from my setup:

; if stunnel4 is installed, /usr/bin/stunnel points to stunnel3 and doesnt work
(if (file-exists-p '"/usr/bin/stunnel4")
  (setq vm-stunnel-program '"/usr/bin/stunnel4"))

(setq send-mail-function 'smtpmail-send-it) ; if you use `mail' or vm
(setq message-send-mail-function 'smtpmail-send-it) ; if you use message/Gnus
(setq smtpmail-debug-info t) ; only to debug problems
(require 'smtpmail)

(setq smtpmail-smtp-server "smtp.gmail.com")
(setq user-mail-address "me@gmail.com")
(setq user-full-name "me")

(setq smtpmail-auth-credentials '(("smtp.gmail.com" 25 "username@gmail.com" "password")))
(setq smtpmail-starttls-credentials '(("smtp.gmail.com" 25 nil nil)))

(setq pop3-leave-mail-on-server t)
(setq mail-user-agent 'vm-user-agent)
(setq toolbar-mail-reader 'vm)

(setq vm-imap-server-list
      '(
         "imap-ssl:imap.gmail.com:993:INBOX:login:username@gmail.com:password"
       )
)

I can then read my email using vm-visit-imap-folder.  (I had to change
some settings on the gmail website to enable this).

Sean

Kalyan Mukherjea writes:
 > 
 > Hello,
 > 
 > I have always used VM as my mail reading apparatus. Since the time I
 > switched to google, I mean using  a `gmail.com'  email id there has
 > been the issue of  retrieving my email using stunnel. I remember my
 > problem was solved 3 years ago by a student who  then  built a binary
 > for stunnel on an FC3 machine and sent it to me. Last year I installed
 > a ubuntu 8/04 system but am unable to switch to it because whenever I
 > open VM I am told "POP connection not open, pop over ssl".
 > 
 > Three years ago my saviour had told me that the debian versions had
 > some kind of wrapper which took care of the refusal of vm-7.19 to talk
 > with stunnel. Googling around, I find some discussion of this problem
 > but no definitive answer. Since Emacspeak recommends the use of VM, I
 > wonder if any of you could suggest a way of getting VM-7.19 to work
 > with stunnel to retrieve the mail.
 > Otherwise it may be ubuntu 10/10 that I will end up using  hoping that
 > things will get better then!
 > Thanks in advance.
 > Kalyan
 > 
 > PS: My other computer with FC3 has exactly the same startup files as
 > the ubuntu machine, 
 > it is connected to the same router and broadband connection. So it is
 > _not_ a matter of there not being a connection between the ubuntu
 > machine and the internet.
 > 
 > -----------------------------------------------------------------------------
 > To unsubscribe from the emacspeak list or change your address on the
 > emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
 > subject of "unsubscribe" or "help".
 > 

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive