summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-06-27 06:16:47 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:57 +0200
commita8a4d198906e27a9183b1eba6c6c72fdbd390963 (patch)
tree5b3f11378f279a19376f407985345b4c6e0bddb8
parent82285b59b86a05679c79060064484ec42107bfea (diff)
The 'vmail' user may have a UID lower than 500.
So we set 'first_valid_uid' to 1, to accept any UID.
-rw-r--r--roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf b/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf
index d91a166..dcc1d9c 100644
--- a/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf
+++ b/roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf
@@ -170,14 +170,14 @@ mail_gid = vmail
# to make sure that users can't log in as daemons or other system users.
# Note that denying root logins is hardcoded to dovecot binary and can't
# be done even if first_valid_uid is set to 0.
-#first_valid_uid = 500
+first_valid_uid = 1
#last_valid_uid = 0
# Valid GID range for users, defaults to non-root/wheel. Users having
# non-valid GID as primary group ID aren't allowed to log in. If user
# belongs to supplementary groups with non-valid GIDs, those groups are
# not set.
-#first_valid_gid = 1
+first_valid_gid = 1
#last_valid_gid = 0
# Maximum allowed length for mail keyword name. It's only forced when trying