aboutsummaryrefslogtreecommitdiff
path: root/tests/internet/etc/dovecot.conf.in
blob: 6ac013d4fbc741fe82d91ed7c6fc6a7d7839f057 (about) (plain) (blame)
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
protocols = imap

default_internal_user = dovecot
default_internal_group = dovecot
default_login_user = dovenull
auth_mechanisms = plain login
auth_username_format = %n

passdb {
  driver = shadow
}
userdb {
  driver = passwd
}
service auth-worker {
  group = etc-shadow
}

ssl = required
ssl_cert = </etc/letsencrypt/live/@HOSTNAME@/fullchain.pem
ssl_key  = </etc/letsencrypt/live/@HOSTNAME@/privkey.pem
ssl_dh = </var/lib/dovecot/dhparam.pem

base_dir = /var/run/dovecot
state_dir = /var/lib/dovecot

verbose_proctitle = yes

mail_location = maildir:/var/mail/%u:INBOX=/var/mail/%u:LAYOUT=fs

namespace inbox {
  inbox = yes
  mailbox Drafts {
    special_use = \Drafts
    auto = subscribe
  }
  mailbox Sent {
    special_use = \Sent
    auto = subscribe
  }
  mailbox Archive {
    special_use = \Archive
    auto = subscribe
  }
  mailbox Junk {
    special_use = \Junk
    auto = subscribe
    autoexpunge = 30d
  }
  mailbox Trash {
    special_use = \Trash
    auto = subscribe
  }
}