### This was a very big file; I took most of it out. Refer to your ### sample 10-mail.conf file for some of the things you can do. ## ## Mailbox locations and namespaces ## # Location for users' mailboxes. The default is empty, which means that # Dovecot tries to find the mailboxes automatically. This won't work if # the user doesn't yet have any mail, so you should explicitly tell # Dovecot the full location. # # # mail_location = maildir:~/Mail ## ## Mail processes ## ### I set this to my lowest virtual UID and 65535. # Valid UID range for users, defaults to 500 and above. This is mostly # 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 = 801 last_valid_uid = 65535 ### I set this to 100(users) which is the primary GID for system users. ### There is no need for system accounts to use IMAP. # 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 = 100 last_valid_gid = 65535