mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-04-25 02:42:03 +05:00

This adds the option to add a customized userdb_mail parameter to the Dovecot userdb, overriding the global mail_location setting. This change applies to both mail delivery (handled via LMTP from postfix to Dovecot), as well as Maildir access via IMAP etc. Furthermore, the UID and GID can be customized to reflect the desired permissions. Finally, the Dovecot virtual user home, holding the user's private state, can be set. These changes allow for great flexibility in the mail server setup. For instance, users can selectively have their mail accessible through a Maildir in their home directory, or via a purely virtual user maintained under /var/vmail.