aboutsummaryrefslogtreecommitdiff
path: root/tests/internet/etc/dovecot
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-17 15:35:26 -0300
committerEuAndreh <eu@euandre.org>2023-03-17 15:35:26 -0300
commit823b92303ad1d311e0ea1bbd915fc12e3cacb1e1 (patch)
tree41ced6bcc662bcc76e79b1a094c0c49e8a2e39bb /tests/internet/etc/dovecot
parentMakefile: Streamline verification of generated config files (diff)
downloadpackage-repository-823b92303ad1d311e0ea1bbd915fc12e3cacb1e1.tar.gz
package-repository-823b92303ad1d311e0ea1bbd915fc12e3cacb1e1.tar.xz
queue.scm: Put Dovecot config file under /etc/dovecot/dovecot.conf by default
Diffstat (limited to 'tests/internet/etc/dovecot')
-rw-r--r--tests/internet/etc/dovecot/dovecot.conf.in54
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/internet/etc/dovecot/dovecot.conf.in b/tests/internet/etc/dovecot/dovecot.conf.in
new file mode 100644
index 0000000..6ac013d
--- /dev/null
+++ b/tests/internet/etc/dovecot/dovecot.conf.in
@@ -0,0 +1,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
+ }
+}