Merge branch 'fix-dovecot-urls' into 'master'

Fix URLs for dovecot

See merge request simple-nixos-mailserver/nixos-mailserver!366
This commit is contained in:
Michael Lohmann 2025-03-14 21:16:28 +00:00
commit 0c920230ec
2 changed files with 3 additions and 3 deletions

View File

@ -575,7 +575,7 @@ in
- /var/vmail/example.com/user/.folder.subfolder/ (default layout)
- /var/vmail/example.com/user/folder/subfolder/ (FS layout)
See https://wiki2.dovecot.org/MailboxFormat/Maildir for details.
See https://doc.dovecot.org/main/core/config/mailbox_formats/maildir.html#maildir-mailbox-format for details.
'';
};
@ -596,7 +596,7 @@ in
This affects how mailboxes appear to mail clients and sieve scripts.
For instance when using "." then in a sieve script "example.com" would refer to the mailbox "com" in the parent mailbox "example".
This does not determine the way your mails are stored on disk.
See https://wiki.dovecot.org/Namespaces for details.
See https://doc.dovecot.org/main/core/config/namespaces.html#namespaces for details.
'';
};

View File

@ -63,7 +63,7 @@ in
);
in ''
# Create mail directory and set permissions. See
# <http://wiki2.dovecot.org/SharedMailboxes/Permissions>.
# <https://doc.dovecot.org/main/core/config/shared_mailboxes.html#filesystem-permissions-1>.
# Prevent world-readable paths, even temporarily.
umask 007
mkdir -p ${directories}