[Top][All Lists]

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


From: Hans Ekbrand
Subject: IMAP over SSH in GNUS
Date: Thu, 14 Feb 2008 13:51:16 +0100
User-agent: Mutt/1.5.11

Dear list!

I want to try out gnus for reading email. Currently, I use mutt with IMAP over 
ssh like this:

set tunnel="ssh -q 'export MAIL=maildir:$HOME/Maildir; 
/usr/lib/dovecot/imap --exec-mail imap'"

After reading the documentation of gnus, I tried the following:

(setq gnus-select-method '(nntp ""))
(setq gnus-secondary-select-methods
                (nnimap ""
                        (nnimap-stream shell)
                        (imap-shell-program "ssh -q 'export 
MAIL=maildir:$HOME/Maildir; /usr/lib/dovecot/imap --exec-mail imap'")
                (nnimap "test"
                     (nnimap-address "localhost")
                     (nnimap-server-port 1234)

While the second entry "test", works it requires:

 a. a working ssh-tunnel before I start gnus
 b. that the imap server is configured to listen on a port and to authenticate
 c. that gnus manages (asks me about) username and password for the imap server

All of which are unnecessary in my current setup (the mutt-onliner above).

Why does not the first entry above "" work? (gnus says:
     {nnimap:test} (opened)
     {} (denied))

Attachment: signature.asc
Description: Digital signature

reply via email to

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