summaryrefslogtreecommitdiffhomepage
path: root/dovecot/dovecot.conf
blob: e98b281cd9ddce9f92de51aec3f7fba83bcbfba0 (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
listen = *

ssl = required

ssl_cert = </etc/mail/ssl/fullchain.cer
ssl_key = </etc/mail/ssl/mail.topo.tw.key
ssl_dh = </etc/ssl/dh.pem

mail_location = maildir:~/Maildir

passdb {
    # This is where you define your password scheme.
    # If you have used blowfish it needs to be 'BLF-CRYPT'.
    args = scheme=sha512-crypt /etc/mail/passwd
    driver = passwd-file
}

userdb {
    args = uid=pham gid=pham home=/home/pham
    driver = static
}

protocols = imap lmtp

service imap-login {
  inet_listener imaps {
    port = 993
    ssl = yes
  }
  # Disable imap
  inet_listener imap {
    port = 0
  }
}