blob: cf2d720b66c869fb62fa062bcefe2f009132a037 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-vserver-amd64 x86_64 Debian 7.3 ufs
# See http://help.directadmin.com/item.php?id=348
listen = *
auth_mechanisms = plain login
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_log_format_elements = user=<%%u> method=%m %c
mail_location = maildir:/var/mail/virtual/%u
mail_privileged_group = mail
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
sieve = ~/.dovecot.sieve
sieve_storage = ~/sieve
}
protocols = imap
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-master {
group = mail
mode = 0600
user = vmail
}
user = root
}
# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
# dropping root privileges, so keep the key file unreadable by anyone but
# root.
ssl_cert = </etc/ssl/certs/cert.crt
ssl_key = </etc/ssl/private/cert.pem
# SSL ciphers to use
# See http://www.virtualmin.com/node/25057
ssl_cipher_list = HIGH:MEDIUM:+TLSv1:!SSLv2:SSLv3
userdb {
args = uid=5000 gid=5000 home=/var/mail/virtual/%u allow_all_users=yes
driver = static
}
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = sieve
postmaster_address = postmaster@<%= @fqdn %>
}
# Should saving a mail to a non-existing mailbox automatically create it?
lda_mailbox_autocreate = yes
|