Tohiko Looka <> writes:

> I use the same config file for notmuch for multiple machines (as part
> of my dotfiles). These machines have different users so I want to have
> the database relative to the home directory.
> I tried setting the database director to "~/.mail" and "$HOME/.mail"
> and neither worked.
> Is there a way to set the database directory relative to home?

If you have notmuch >= 0.32 everywhere, you can use the XDG
locations documented in notmuch-config(1). Otherwise relative paths in
section database are interpreted relative to $HOME (documented in the
same place).  So "notmuch config set database.path .mail" ought to work.
notmuch mailing list --
To unsubscribe send an email to

Reply via email to