From a8a4d198906e27a9183b1eba6c6c72fdbd390963 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 27 Jun 2014 06:16:47 +0200 Subject: The 'vmail' user may have a UID lower than 500. So we set 'first_valid_uid' to 1, to accept any UID. --- roles/IMAP/files/etc/dovecot/conf.d/10-mail.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/IMAP') 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 -- cgit v1.2.3