Browse Source

clarify effect of Tunnel on Host and Port

Oswald Buddenhagen 11 years ago
parent
commit
d9c78b7787
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/mbsync.1

+ 5 - 1
src/mbsync.1

@@ -237,11 +237,16 @@ Define the IMAP4 Account \fIname\fR, opening a section for its parameters.
 .TP
 .TP
 \fBHost\fR \fIhost\fR
 \fBHost\fR \fIhost\fR
 Specify the DNS name or IP address of the IMAP server.
 Specify the DNS name or IP address of the IMAP server.
+.br
+If \fBTunnel\fR is used, this setting is used only for SSL host certificate
+verification, if provided.
 ..
 ..
 .TP
 .TP
 \fBPort\fR \fIport\fR
 \fBPort\fR \fIport\fR
 Specify the TCP port number of the IMAP server.  (Default: 143 for IMAP,
 Specify the TCP port number of the IMAP server.  (Default: 143 for IMAP,
 993 for IMAPS)
 993 for IMAPS)
+.br
+If \fBTunnel\fR is used, this setting is ignored.
 ..
 ..
 .TP
 .TP
 \fBUser\fR \fIusername\fR
 \fBUser\fR \fIusername\fR
@@ -266,7 +271,6 @@ optional.
 Specify a command to run to establish a connection rather than opening a TCP
 Specify a command to run to establish a connection rather than opening a TCP
 socket.  This allows you to run an IMAP session over an SSH tunnel, for
 socket.  This allows you to run an IMAP session over an SSH tunnel, for
 example.
 example.
-\fBHost\fR and \fBPort\fR are ignored when \fBTunnel\fR is set.
 .br
 .br
 If \fBUseIMAPS\fR is disabled and the tunnel opens a preauthenticated
 If \fBUseIMAPS\fR is disabled and the tunnel opens a preauthenticated
 connection, \fBRequireSSL\fR also needs to be disabled.
 connection, \fBRequireSSL\fR also needs to be disabled.