🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #970

Re: IMAP access problem

#970
From: Brian Curless
Date: Fri, 21 Dec 2001 21:54
53 lines
2840 bytes
kyle_jones@wonderworks.com (Kyle Jones) writes:

> Brian Curless  <curless@cs.washington.edu> wrote:
>  > I'm having difficulty using vm to access an IMAP mailbox.  The IMAP
>  > server is one I configured myself on a redhat linux box and which is
>  > invoked as an ssl server through stunnel and socket 993.  I have no
>  > problem accessing the server and retrieving mail with pine, netscape
>  > mail, and outlook express.  I have not been successful with vm.  I get
>  > through the login prompt, provide the password, and then receive the
>  > error message:
>  > 
>  >    IMAP protocol error: "unexpected char (10)"
>  > 
>  > I'm configuring vm for imap with:
>  > 
>  >    vm-stunnel-program "/usr/sbin/stunnel"
>  >    vm-stunnel-program-switches '("-c -f")
>  >    vm-spool-files '("imap-ssl:mail.curless.org:993:inbox:login:test1:*")
> 
> Don't specify any stunnel program switches.


I had started without the switches, but then the mail fetch would hang
after "Loading vm-crypto...done".  I added the switches when 
"stunnel -V" told me that stunnel was running in background, server 
mode:

    stout-test1> stunnel -V

    stunnel 3.13 on i386-redhat-linux-gnu PTHREAD+LIBWRAP

    Default behaviour:
            run in inetd mode (unless -d used)
            run in background (unless -f used)
            run in ssl server mode (unless -c used)

    Compile time defaults:
            -v level        no verify
            -a directory    (none)
            -A file         /usr/share/ssl/cert.pem
            -S sources      2
            -t timeout      300 seconds
            -B bytes        64
            -D level        5
            -P pid dir      /var/run/
            -p pemfile      in server mode: /usr/share/ssl/certs/stunnel.pem
                            in client mode: none


Adding the "-f" in particular stopped it from hanging, but it then
returned with the error described above.

Brian
Technical Details
Message-ID: <qfvello1bo1.fsf@narino.cs.washington.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!uw-beaver!news
References: <qfvk7vg1mvb.fsf@narino.cs.washington.edu> <u279jm4makede0@corp.supernews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,cda1074aa444c08b
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 2001-12-21 13:56:10 PST
Newsgroups: gnu.emacs.vm.bug
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!uw-beaver!news
From: Brian Curless <curless@cs.washington.edu>
Subject: Re: IMAP access problem
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
Sender: news@beaver.cs.washington.edu (News Subsystem)
Organization: Computer Science & Engineering, U of Washington, Seattle
Lines: 54
Message-ID: <qfvello1bo1.fsf@narino.cs.washington.edu>
References: <qfvk7vg1mvb.fsf@narino.cs.washington.edu> <u279jm4makede0@corp.supernews.com>
Mime-Version: 1.0
X-Nntp-Posting-Host: narino.cs.washington.edu
Date: 21 Dec 2001 13:54:54 -0800