aboutsummaryrefslogtreecommitdiffstats
path: root/interimap.1
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-15 02:10:55 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-15 02:25:15 +0200
commit9a2a5edacc95c630d37d1215b0c7c938f82b998d (patch)
tree8838f1eb8e64e4f2b40ebc19b77998b3891ef8d0 /interimap.1
parentcc842e127d380255524ee8ccf465d63596b2a870 (diff)
Add the ability to proxy TCP connections through a SOCKSv5 proxy.
Diffstat (limited to 'interimap.1')
-rw-r--r--interimap.110
1 files changed, 10 insertions, 0 deletions
diff --git a/interimap.1 b/interimap.1
index ef0752e..4822259 100644
--- a/interimap.1
+++ b/interimap.1
@@ -255,6 +255,16 @@ Server port.
\fItype\fR=imaps.)
.TP
+.I proxy
+An optional SOCKS proxy to use for TCP connections to the IMAP server
+(\fItype\fR=imap and \fItype\fR=imaps only), formatted as
+\(lq\fIprotocol\fR://[\fIuser\fR:\fIpassword\fR@]\fIproxyhost\fR[:\fIproxyport\fR]\(rq.
+If \fIproxyport\fR is omitted, it is assumed at port 1080.
+Only SOCKSv5 is supported, in two flavors: \(lqsocks5://\(rq to resolve
+\fIhostname\fR locally, and \(lqsocks5h://\(rq to let the proxy resolve
+\fIhostname\fR.
+
+.TP
.I command
Command to use for \fItype\fR=tunnel. Must speak the IMAP4rev1 protocol
on its standard output, and understand it on its standard input.