viewmail-info
[Top][All Lists]
Advanced

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

[VM] Trying to install w/IMAP on Windows 7 (long)


From: Lewis Perin
Subject: [VM] Trying to install w/IMAP on Windows 7 (long)
Date: Thu, 22 Dec 2011 13:20:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix)

Hello.  I’ve been using Rmail for what seems like a century, but at
work, where I use Windows 7, that’s coming to an end because the
organization’s new mail server will use IMAP only.  As a result, I’m
exploring vm with stunnel.  I’m using my little-used Gmail account as a
testbed.  Sadly, I haven’t been able to read anything from Gmail yet, so
I’m asking for suggestions here as to what may be wrong with my setup.

I’m using vm-8.1.1-gnu23; and stunnel from stunnel-4.33-installer.exe,
which I installed, as advised, without make install.

Here’s my .vm, indented for clarity:

  (setq vm-primary-inbox "~/vm/inbox.mbox")
  (setq vm-crash-box "~/vm/inbox.crash.mbox")
  (setq vm-imap-account-alist
        '(
          ("imap-ssl:imap.gmail.com:993:*:login:my-gmail-login:*" "Gmail")
          )
       )
  (setq vm-primary-inbox
  "imap-ssl:imap.gmail.com:993:inbox:login:my-gmail-login:*")
  (setq vm-spool-files `((,vm-primary-inbox
                          
"imap-ssl:imap.gmail.com:993:inbox:login:my-gmail-login:*"
                          ,vm-crash-box))
  )
  (setq vm-reply-subject-prefix "Re: ")
  (setq vm-stunnel-program "c:/tools/stunnel/stunnel.exe")

  (setq vm-debug t)
  (setq vm-keep-imap-buffers t)
  (setq vm-imap-log-sessions t)
  (setq vm-stunnel-program-additional-configuration-file
        "c:/tools/stunnel/stunnel.conf")

And here’s my stunnel.conf, also indented.

  ;[pop3s]
  ;accept  = 995
  ;connect = 110

  [imaps]
  ; Lew
  client = yes
  accept  = 993
  ;connect = 143
  ; Lew
  connect = imap.gmail.com:143

  [ssmtp]
  ; Lew
  client = yes
  accept  = 465
  connect = 25

When I launch vm, I get a new frame with 
“Checking for new mail for c:/etc/emacs/imap-cache-<long hex string>...” 
in the minibuffer, but nothing beyond that.  Stunnel runs, but it
doesn’t seem to achieve anything - there isn’t even anything in a
netstat display that seems related to all this.

Here’s my latest stunnel.log:

  2011.12.22 13:00:10 LOG5[6148:6672]: Reading configuration from file 
c:\Users\lperin\AppData\Local\Temp\vm521094869
  2011.12.22 13:00:10 LOG7[6148:6672]: Snagged 64 random bytes from 
c:\Users\lperin\AppData\Local\Temp\vm2345190073
  2011.12.22 13:00:10 LOG7[6148:6672]: RAND_status claims sufficient entropy 
for the PRNG
  2011.12.22 13:00:10 LOG7[6148:6672]: PRNG seeded successfully
  2011.12.22 13:00:10 LOG7[6148:6672]: Certificate: stunnel.pem
  2011.12.22 13:00:10 LOG7[6148:6672]: Certificate loaded
  2011.12.22 13:00:10 LOG7[6148:6672]: Key file: stunnel.pem
  2011.12.22 13:00:10 LOG7[6148:6672]: Private key loaded
  2011.12.22 13:00:10 LOG7[6148:6672]: SSL context initialized for service imaps
  2011.12.22 13:00:10 LOG7[6148:6672]: Certificate: stunnel.pem
  2011.12.22 13:00:10 LOG7[6148:6672]: Certificate loaded
  2011.12.22 13:00:10 LOG7[6148:6672]: Key file: stunnel.pem
  2011.12.22 13:00:10 LOG7[6148:6672]: Private key loaded
  2011.12.22 13:00:10 LOG7[6148:6672]: SSL context initialized for service ssmtp
  2011.12.22 13:00:10 LOG5[6148:6672]: Configuration successful
  2011.12.22 13:00:10 LOG5[6148:6672]: No limit detected for the number of 
clients
  2011.12.22 13:00:10 LOG7[6148:6672]: FD=132 in non-blocking mode
  2011.12.22 13:00:10 LOG7[6148:6672]: Option SO_REUSEADDR set on accept socket
  2011.12.22 13:00:10 LOG7[6148:6672]: Service imaps bound to 0.0.0.0:993
  2011.12.22 13:00:10 LOG7[6148:6672]: Service imaps opened FD=132
  2011.12.22 13:00:10 LOG7[6148:6672]: FD=284 in non-blocking mode
  2011.12.22 13:00:10 LOG7[6148:6672]: Option SO_REUSEADDR set on accept socket
  2011.12.22 13:00:10 LOG7[6148:6672]: Service ssmtp bound to 0.0.0.0:465
  2011.12.22 13:00:10 LOG7[6148:6672]: Service ssmtp opened FD=284
  2011.12.22 13:00:10 LOG5[6148:6672]: stunnel 4.33 on x86-pc-mingw32-gnu with 
OpenSSL 1.0.0 29 Mar 2010
  2011.12.22 13:00:10 LOG5[6148:6672]: Threading:WIN32 SSL:ENGINE 
Sockets:SELECT,IPv6

Thanks very much for your attention!

/Lew
---
Lew Perin / address@hidden
http://babelcarp.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]