aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-12-13 20:04:26 +0100
committerGuilhem Moulin <guilhem@fripost.org>2019-12-13 20:30:43 +0100
commitccb2ef57e36b0fa3a5e02de710d5b763a9472646 (patch)
treeef41831055b75f880a31e72df2731b5db4cb4649 /doc
parenta3ea9a08d501c4dbd2930e91bb368b2d7a8ab2b6 (diff)
doc/getting-started.md: Clarify use of `exec` built-in.
Diffstat (limited to 'doc')
-rw-r--r--doc/getting-started.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/getting-started.md b/doc/getting-started.md
index 1d29231..da8f116 100644
--- a/doc/getting-started.md
+++ b/doc/getting-started.md
@@ -180,23 +180,27 @@ for the sake of clarity we start from an empty file here.
# ignore the mailbox named 'virtual' and its descendants
# WARN: for version 0.4 and earlier it should be ^virtual(?:/|$)
ignore-mailbox = ^virtual(?:\x00|$)
-
EOF
2. Next, append a `[local]` section pointing to the wrapper defined
above:
$ cat >>${XDG_CONFIG_HOME:-~/.config}/interimap/config <<-EOF
+
[local]
type = tunnel
command = exec ~/.local/bin/dovecot-imap
-
EOF
+ (The command will be passed to `` `/bin/sh -c` `` as it contains
+ the metacharacter `~`. We use the `exec` built-in utility so the
+ shell process doesn't linger around during the IMAP session.)
+
3. And finally append a `[remote]` section with your account
information at `imap.example.org` (adapt the values accordingly):
$ cat >>${XDG_CONFIG_HOME:-~/.config}/interimap/config <<-EOF
+
[remote]
type = imaps
host = imap.example.net