void-packages/srcpkgs/dovecot/patches/system-account.patch
Leah Neukirchen b49fd85130 dovecot: use underscored users _dovecot and _dovenull.
These users should not own any files, so renaming is unproblematic.
Restarting dovecot fixes permissions in /var/run.
2018-09-07 13:44:19 +02:00

15 lines
493 B
Diff

--- src/master/master-settings.c.orig
+++ src/master/master-settings.c
@@ -209,9 +209,9 @@
.protocols = "imap pop3 lmtp",
.listen = "*, ::",
.ssl = "yes:no:required",
- .default_internal_user = "dovecot",
- .default_internal_group = "dovecot",
- .default_login_user = "dovenull",
+ .default_internal_user = "_dovecot",
+ .default_internal_group = "_dovecot",
+ .default_login_user = "_dovenull",
.default_process_limit = 100,
.default_client_limit = 1000,
.default_idle_kill = 60,