View Source:
ImapTunnelingOverSsh
Note:
This page has been locked and cannot be edited.
!!Secure IMAP over SSH Tunnels I finally figured out how to securely run imap - do it over ssh. Here's a good reference: [unixreview article|http://www.unixreview.com/documents/s=1376/urmb9/SSH_ch11.pdf] The trick is that the mail client runs some other program to tunnel to the imap server and run imapd there. When the imap server runs locally like that, it realizes that you are already an authenticated user, and doesn't ask you to log in again. The imap client you run has to include support for this. New versions of mutt (like 1.3.19) have a tunnel variable you can set, for example: ;:set tunnel="ssh -q mail.example.com /usr/sbin/imapd" To use with __Courier IMAP__, syntax is ;:set tunnel="ssh -q mail.example.com /usr/sbin/imapd 2>/dev/null Maildir" ssh has to be able to log you in w/o asking for a password, so you need to set up RSA or agent authentication first. However, if you have that, then the imap connections become completely transparent and you mail client no longer asks for passwords! Check the [mutt sourceforge site|http://mutt.sourceforge.net/imap/] for a few more notes. Pay attention to the part about setting timeout and mail_check. pine has similar support. --phil 6/14/01 CategoryGeekStuff
Please enable JavaScript to view the
comments powered by Disqus.
HollenbackDotNet
Home Page
Popular Pages
All Categories
Main Categories
General Interest
Geek Stuff
DevOps
Linux Stuff
Pictures
Search
Toolbox
RecentChanges
RecentNewPages
What links here
Printable version
AllPages
RecentChanges
Recent Changes Cached
No changes found
Favorite Categories
ActionPage
(150)
WikiPlugin
(149)
GeekStuff
(137)
PhpWikiAdministration
(102)
Help/PageList
(75)
Help/MagicPhpWikiURLs
(75)
Blog
(69)
Pictures
(60)
GeneralInterest
(44)
LinuxStuff
(38)
Views
View Page
View Source
History
Diff
Sign In