As previously posted, I'm trying to convert from pine to mutt. I've
decided to use offlineimap to download and sync local mail with server
mail. Unfortunately, offlineimap just hangs when trying to connect to
the server. The problem is almost certainly how I've configured it.
I've attached the configuration file (offlineimaprc). Running
offlineimap with this configuration file results in:

OfflineIMAP 6.2.0
Copyright (C) 2002 - 2009 John Goerzen <jgoer...@complete.org>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
Account sync GP:
   ***** Processing account GP
Account sync GP:
   Copying folder structure from IMAP to Maildir
Account sync GP:
   Establishing connection to tunnel:ssh gp /usr/sbin/imapd.

My ~/.ssh/config file has an entry for gp that specifies the use of
PubkeyAuthentication. I know this works because it's how I normally
login to the server and using mutt remotely with this server works
fine. Furthermore, I can successfully use the same SSH tunnel with
mutt by including it as part of an account-hook in my ~/.mutt/muttrc
file:

set tunnel = "ssh gp /usr/sbin/imapd"

Finally, from a local terminal, ssh ml /usr/sbin/imapd allows direct
fiddling with the IMAP protocol, as expected:

t...@local:~$ ssh gp /usr/sbin/imapd
* PREAUTH [CAPABILITY IMAP4REV1 LITERAL+ IDLE NAMESPACE
MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES
THREAD=ORDEREDSUBJECT MULTIAPPEND] Pre-authenticated user tm
gp.foo.bar IMAP4rev1 2004.357 at Tue, 14 Sep 2010 13:08:42 -0400 (EDT)

Any suggestions on how I can get offlineimap working? Anyone have any
.offlineimaprc files they can share?

Thanks,
TM

Attachment: offlinerc
Description: Binary data

Reply via email to