aboutsummaryrefslogtreecommitdiff
path: root/roles/dovecot/files/conf.d/10-master.conf
blob: c2c9493b48f0b7100087304e9855af5d6cef8111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Master Configuration
service imap-login {
	# Run login processes in high-security mode (see: LoginProcess.txt in dovecot docs)
	service_count = 1
	# Disable unencrypted IMAP by setting port for plain IMAP to 0
	inet_listener imap {
		port = 0
	}
	inet_listener imaps {
		port = 993
		ssl = yes
	}
}

# Allow postfix to user dovecot SASL
service auth {
	unix_listener /var/spool/postfix/private/auth {
		mode = 0660
		user = postfix
		group = postfix
	}
}