.\" Man page generated from reStructuredText. . .TH "MBPATH" "8" "March 09, 2021" "3.2.6" "Cyrus IMAP" .SH NAME mbpath \- Cyrus IMAP documentation . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .sp Translate mailbox names to filesystem paths .SH SYNOPSIS .sp .nf \fBmbpath\fP [ \fB\-C\fP \fIconfig\-file\fP ] [ \fB\-l\fP ] [ \fB\-m\fP ] [ \fB\-q\fP ] [ \fB\-s\fP ] [ \fB\-u\fP ] [ \fB\-a\fP | \fB\-A\fP | \fB\-M\fP | \fB\-S\fP | \fB\-U\fP ] [ \fImailbox\-names\fP\&... ] .fi .SH DESCRIPTION .sp Given a mailbox name or a space separated list of mailbox names, \fBmbpath\fP outputs the filesystem path(s) of the mailbox. By default, the mailboxes\(aq data partition paths are shown (same as \fB\-D\fP). See \fI\%Selectors\fP for selecting which filesystem path(s) to output. .sp \fBmbpath\fP reads its configuration options out of the imapd.conf(5) file unless specified otherwise by \fB\-C\fP\&. It uses /mailboxes.db to locate the mailboxes on disk. .SH OPTIONS .INDENT 0.0 .TP .B \-C config\-file Use the specified configuration file \fIconfig\-file\fP rather than the default imapd.conf(5)\&. .UNINDENT .INDENT 0.0 .TP .B \-l Local mailboxes only (exits with error for remote or nonexistent mailboxes) .UNINDENT .INDENT 0.0 .TP .B \-m Output the path to the metadata files (if different from the message files). Legacy, use \fB\-M\fP\&. .UNINDENT .INDENT 0.0 .TP .B \-q Suppress any error output. .UNINDENT .INDENT 0.0 .TP .B \-s If any error occurs, stop processing the list of mailboxes and exit. .UNINDENT .INDENT 0.0 .TP .B \-u The specified \fImailbox\-names\fP are users, not mailboxes. .UNINDENT .SH SELECTORS .INDENT 0.0 .TP .B \-A Show the mailbox archive path .UNINDENT .INDENT 0.0 .TP .B \-D Show the mailbox data path (\fIdefault\fP) .UNINDENT .INDENT 0.0 .TP .B \-M Show the mailbox metadata path (same as \fB\-m\fP) .UNINDENT .INDENT 0.0 .TP .B \-S Show the user sieve scripts path .UNINDENT .INDENT 0.0 .TP .B \-U Show the user files path (seen, sub, etc) .UNINDENT .INDENT 0.0 .TP .B \-a Show all paths, as if all selectors were specified .UNINDENT .SH EXAMPLES .sp .nf \fBmbpath\fP \fIuser.jsmith\fP .fi .INDENT 0.0 .INDENT 3.5 Display the data path for mailbox \fIuser.jsmith\fP\&. .UNINDENT .UNINDENT .sp .nf \fBmbpath \-M\fP \fIuser.jsmith\fP .fi .INDENT 0.0 .INDENT 3.5 Display the metadata path for mailbox \fIuser.jsmith\fP\&. .UNINDENT .UNINDENT .sp .nf \fBmbpath \-u \-S\fP \fIjsmith\fP .fi .INDENT 0.0 .INDENT 3.5 Display the sieve scripts path for user \fIjsmith\fP\&. .UNINDENT .UNINDENT .SH FILES .sp /etc/imapd.conf, /mailboxes.db .SH SEE ALSO .sp imapd.conf(5) .SH AUTHOR The Cyrus Team, Nic Bernstein (Onlight) .SH COPYRIGHT 1993-2018, The Cyrus Team .\" Generated by docutils manpage writer. .