Can you tunnel via SSH to access Gmail via IMAP in Outlook when the ports are blocked?
August 7, 2008 9:47 AM
Subscribe
I like to think of myself as somewhat of a power user when it comes to mail servers, SSH, Gmail, and Outlook, but this one has me stumped! I use Outlook for both work and personal e-mail, but while on the network at work our ports are pretty locked down. How might I access my Gmail account via IMAP in Outlook while on a locked-down network? Ports 25, 110, 143, 587, 993, etc., are all blocked.
In order to access personal e-mail, I connect via SSH (PuTTY) to my DreamHost mail server and tunnel POP/SMTP (ports 110 and 25) traffic over that SSH session. Is there any way I could use that SSH connection to tunnel to Gmail's servers for IMAP access as well? If not using that tunnel, is there another way?
I can access Gmail through a web browser, but my objective is to be able to collect all my e-mail in Outlook as well. Thanks!
posted by izicwe to computers & internet (16 comments total)
4 users marked this as a favorite
ssh -L 993:imap.gmail.com:993
Within PuTTY, SSH/Tunnels, you would add a port forward with "Source port" 993, "Destination" imap.gmail.com:993, and select the "Local" radio button.
posted by pocams at 10:13 AM on August 7, 2008