Skip to content

Recognize notmuch's mail_root and path variables #67

@fcsaszar

Description

@fcsaszar

Notmuch allows putting the Xapian database in a different location than the Maildir. This is useful, for example, if one is using a filesystem like BTRFS or ZFS that allows for snapshots: I want to snapshot my emails, not my Xapian database. For that, Notmuch has these two variables: mail_root and path. For example, my .notmuch-config includes the following:

[database]
mail_root=/home/user/mail
path=/opt/mail-db

But Mujmap only uses mail_root. With my configuration, I'm getting this error:

error: Could not sync mail: Could not open local database: Given maildir path `/home/user/mail/user@example.com' is not a subdirectory of the notmuch root `/opt/mail-db'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions