summaryrefslogtreecommitdiffhomepage
path: root/dovecot/dovecot.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dovecot/dovecot.conf')
-rw-r--r--dovecot/dovecot.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/dovecot/dovecot.conf b/dovecot/dovecot.conf
new file mode 100644
index 0000000..e98b281
--- /dev/null
+++ b/dovecot/dovecot.conf
@@ -0,0 +1,34 @@
1listen = *
2
3ssl = required
4
5ssl_cert = </etc/mail/ssl/fullchain.cer
6ssl_key = </etc/mail/ssl/mail.topo.tw.key
7ssl_dh = </etc/ssl/dh.pem
8
9mail_location = maildir:~/Maildir
10
11passdb {
12 # This is where you define your password scheme.
13 # If you have used blowfish it needs to be 'BLF-CRYPT'.
14 args = scheme=sha512-crypt /etc/mail/passwd
15 driver = passwd-file
16}
17
18userdb {
19 args = uid=pham gid=pham home=/home/pham
20 driver = static
21}
22
23protocols = imap lmtp
24
25service imap-login {
26 inet_listener imaps {
27 port = 993
28 ssl = yes
29 }
30 # Disable imap
31 inet_listener imap {
32 port = 0
33 }
34}