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

Using imap over ssh with mutt



Hi,

I've just setup stallman to allow port forwarded imap
connections over ssh.  This is useful for any IMAP enabled mail
clients.  To start up the port forward, use something like this:

  $ ssh -L 1143:stallman.pisoftware.com:143 \
               stallman.pisoftware.com

In another terminal, start up your IMAP mail client, pointing
to localhost:1143 (or whatever port you are using in the
port forward).  Mutt requires something like the following in
your .muttrc.

  set folder={localhost:1143}mail/
  set spoolfile={localhost:1143}mail/Inbox

This should ask you for your username and password when you
start up mutt.

Other IMAP clients are left as an exercise for the reader.

Thanks,
Brad
-- 
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
|Brad Marshall                    |           Plugged In Software|
|Senior Systems Administrator     |     http://www.pisoftware.com|
|mailto:bmarshal@pisoftware.com   |  GPG Key Id: 47951BD0 / 1024b|
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
 Fingerprint:  BAE3 4794 E627 2EAF 7EC0  4763 7884 4BE8 4795 1BD0