diff options
Diffstat (limited to 'dovecot/dovecot.conf')
-rw-r--r-- | dovecot/dovecot.conf | 34 |
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 @@ | |||
1 | listen = * | ||
2 | |||
3 | ssl = required | ||
4 | |||
5 | ssl_cert = </etc/mail/ssl/fullchain.cer | ||
6 | ssl_key = </etc/mail/ssl/mail.topo.tw.key | ||
7 | ssl_dh = </etc/ssl/dh.pem | ||
8 | |||
9 | mail_location = maildir:~/Maildir | ||
10 | |||
11 | passdb { | ||
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 | |||
18 | userdb { | ||
19 | args = uid=pham gid=pham home=/home/pham | ||
20 | driver = static | ||
21 | } | ||
22 | |||
23 | protocols = imap lmtp | ||
24 | |||
25 | service 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 | } | ||