<html><head></head><body>Offlineimap allows to connect to an IMAP Server via Ssh, that could be useful in your case.<br>
Sebastian <br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.<br><br><div class="gmail_quote">RW <rwmaillists@googlemail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif">On Thu, 5 Apr 2012 14:12:08 +0800<br />Oon-Ee Ng wrote:<br /><br />> Hi, I'm at a new workplace which handles internet connections<br />> differently from how my old one did. In particular, all internet<br />> access is done through <a href="proxy.workplace.name.com:8080">proxy.workplace.name.com:8080</a><br />> <br />> I've set http_proxy, https_proxy, and ftp_proxy in my shell profile as<br />> well as the appropriate values in apps like Firefox. Now coming to<br />> offlineimap, is there any configuration option for proxying, or does<br />> it honor http_proxy and siblings? <br /><br />If your proxy operates on a single port then it's just an http proxy,<br />with ftp etc supported over http - this wont support IMAP.<br /><br />There are a couple of ways you might get around this, but it's likely<br />to be more trouble than it's worth.<br /><br />1. Use stunnel to tunnel
through the proxy with an http CONNECT<br />request. The last time I looked this required patching and building<br />stunnel from source, although it may be a standard feature by now.<br />This is unlikely to work, as the admins will almost certainly<br />have limited CONNECT requests to the https port.<br /><br /><br />2. There's software (I can't remember the name) that allows connections<br />to be tunneled through http but it requires you to run your own<br />external server to terminate the tunnel and relay the connection to<br />gmail. <br /><br /><br />What you probably need is access to a separate SOCKS proxy.<br /><br /><br /><hr /><br />OfflineIMAP-project mailing list<br />OfflineIMAP-project@lists.alioth.debian.org<br /><a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project</a><br /><br />OfflineIMAP homepage: <a
href="http://software.complete.org/offlineimap">http://software.complete.org/offlineimap</a><br /></pre></blockquote></div></body></html>