From 7c4d78faf324dab6428dc414ac84ecda1a18e685 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 27 May 2019 18:40:49 +0200 Subject: Manpages: clarify that the tunnel command is run following Perl's `exec` semantics. It is passed to `/bin/sh -c` when it contains shell metacharacters; and split into words and passed to execvp(3) otherwise. https://perldoc.perl.org/functions/exec.html (Since c8fb54897f046a5a3fb4c1d45dc21fd8bcd882e3 the value no longer needs to stard with a forward slash.) --- interimap.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'interimap.md') diff --git a/interimap.md b/interimap.md index 50c1832..31d7c3f 100644 --- a/interimap.md +++ b/interimap.md @@ -314,7 +314,9 @@ Valid options are: : Command to use for `type=tunnel`. Must speak the [IMAP4rev1 protocol][RFC 3501] on its standard output, and understand it on its - standard input. + standard input. The value is passed to `` `/bin/sh -c` `` if it + contains shell metacharacters; otherwise it is split into words and + the list is passed to `execvp`(3). *STARTTLS* -- cgit v1.2.3