diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-12-10 15:26:46 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-12-11 11:20:41 +0100 |
commit | 84d1829fd0f955cf9fb7add54f60fc314b0d42b1 (patch) | |
tree | 8525a7e966cf29e2a61d83d425f26674531289f0 /doc | |
parent | 26e5c04abfb81bdcbd4d89d9f9329b8433920b26 (diff) |
libinterimap: factor out hostname/IP parsing.
Also, document that enclosing 'host' value in square brackets forces its
interpretation as an IP literal (hence skips name resolution).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/interimap.1.md | 4 | ||||
-rw-r--r-- | doc/pullimap.1.md | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/interimap.1.md b/doc/interimap.1.md index 2c9ddc6..ab35275 100644 --- a/doc/interimap.1.md +++ b/doc/interimap.1.md @@ -317,7 +317,9 @@ Valid options are: *host* -: Server hostname, for `type=imap` and `type=imaps`. +: Server hostname or IP address, for `type=imap` and `type=imaps`. + The value can optionally be enclosed in square brackets to force its + interpretation as an IP literal (hence skip name resolution). (Default: `localhost`.) *port* diff --git a/doc/pullimap.1.md b/doc/pullimap.1.md index 42ea282..57790a6 100644 --- a/doc/pullimap.1.md +++ b/doc/pullimap.1.md @@ -139,7 +139,9 @@ Valid options are: *host* -: Server hostname, for `type=imap` and `type=imaps`. +: Server hostname or IP address, for `type=imap` and `type=imaps`. + The value can optionally be enclosed in square brackets to force its + interpretation as an IP literal (hence skip name resolution). (Default: `localhost`.) *port* |