1MBPATH(8)                         Cyrus IMAP                         MBPATH(8)
2
3
4

NAME

6       mbpath - Cyrus IMAP documentation
7
8       Translate mailbox names to filesystem paths
9

SYNOPSIS

11       mbpath [ -C config-file ] [ -l ] [ -m ] [ -q ] [ -s ] [ -u | -p ] [ -a | -A | -M | -S | -U ] [ mailbox-names... ]
12

DESCRIPTION

14       Given a mailbox name or a space separated list of mailbox names, mbpath
15       outputs the filesystem path(s) of the mailbox.  By default,  the  mail‐
16       boxes’  data partition paths are shown (same as -D).  See Selectors for
17       selecting which filesystem path(s) to output.
18
19       mbpath reads its configuration options out of  the  imapd.conf(5)  file
20       unless  specified  otherwise  by  -C.  It  uses <configdirectory>/mail‐
21       boxes.db to locate the mailboxes on disk.
22

OPTIONS

24       -C config-file
25              Use the specified configuration file config-file rather than the
26              default imapd.conf(5).
27
28       -l     Local mailboxes only (exits with error for remote or nonexistent
29              mailboxes)
30
31       -m     Output the path to the metadata files  (if  different  from  the
32              message files).  Legacy, use -M.
33
34       -q     Suppress any error output.
35
36       -s     If  any  error occurs, stop processing the list of mailboxes and
37              exit.
38
39       -u     The specified mailbox-names are users, not mailboxes.
40
41       -p     The specified mailbox-names are UNIX mailbox  paths,  not  mail‐
42              boxes.
43

SELECTORS

45       -A     Show the mailbox archive path
46
47       -D     Show the mailbox data path (default)
48
49       -M     Show the mailbox metadata path (same as -m)
50
51       -S     Show the user sieve scripts path
52
53       -U     Show the user files path (seen, sub, etc)
54
55       -a     Show all paths, as if all selectors were specified
56

EXAMPLES

58       mbpath user.jsmith
59          Display the data path for mailbox user.jsmith.
60
61       mbpath -M user.jsmith
62          Display the metadata path for mailbox user.jsmith.
63
64       mbpath -u -S jsmith
65          Display the sieve scripts path for user jsmith.
66

FILES

68       /etc/imapd.conf, <configdirectory>/mailboxes.db
69

SEE ALSO

71       imapd.conf(5)
72

AUTHOR

74       The Cyrus Team, Nic Bernstein (Onlight)
75
77       1993–2022, The Cyrus Team
78
79
80
81
823.6.0                          December 12, 2022                     MBPATH(8)
Impressum