Scroll to navigation

MBPATH(8) Cyrus IMAP MBPATH(8)

NAME

mbpath - Cyrus IMAP documentation

Translate mailbox names to filesystem paths

SYNOPSIS

mbpath [ -C config-file ] [ -q ] [ -s ] [ -m ] [ mailbox-names... ]

DESCRIPTION

Given a mailbox name or a space separated list of mailbox names, mbpath outputs the filesystem path to the mailbox.

mbpath reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C. It uses <configdirectory>/mailboxes.db to locate the mailbox on disk.

OPTIONS

-C config-file
Use the specified configuration file config-file rather than the default imapd.conf(5).

-q
Suppress any error output.

-s
If any error occurs, stop processing the list of mailboxes and exit.

-m
Output the path to the metadata files (if different from the message files).

EXAMPLES

mbpath user.jsmith
Display the path for mailbox user.jsmith.


mbpath -m user.jsmith
Display the metadata path for mailbox user.jsmith.


FILES

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

SEE ALSO

imapd.conf(5)

AUTHOR

The Cyrus Team, Nic Bernstein (Onlight)

COPYRIGHT

1993-2017, The Cyrus Team
August 10, 2018 3.0.8