sets up docker compose
This commit is contained in:
11
dovecot-conf/conf.d/10-auth.conf
Normal file
11
dovecot-conf/conf.d/10-auth.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
disable_plaintext_auth = no
|
||||
auth_mechanisms = plain login
|
||||
passdb {
|
||||
driver = passwd-file
|
||||
args = username_format=%u /etc/dovecot/users
|
||||
}
|
||||
|
||||
userdb {
|
||||
driver = static
|
||||
args = uid=vmail gid=vmail home=/srv/mail/%d/%n mail=maildir:/srv/mail/%d/%n
|
||||
}
|
||||
39
dovecot-conf/conf.d/10-mailboxes.conf
Normal file
39
dovecot-conf/conf.d/10-mailboxes.conf
Normal file
@@ -0,0 +1,39 @@
|
||||
# Mailbox configuration
|
||||
namespace {
|
||||
separator = /
|
||||
prefix =
|
||||
location = maildir:/srv/mail/%d/%n
|
||||
inbox = yes
|
||||
|
||||
# Auto-create and subscribe mailboxes
|
||||
mailbox INBOX {
|
||||
auto = subscribe
|
||||
}
|
||||
|
||||
mailbox Pending {
|
||||
auto = subscribe
|
||||
}
|
||||
|
||||
mailbox Work {
|
||||
auto = subscribe
|
||||
}
|
||||
|
||||
mailbox Personal {
|
||||
auto = subscribe
|
||||
}
|
||||
|
||||
mailbox Receipts {
|
||||
auto = subscribe
|
||||
}
|
||||
|
||||
mailbox Marketing {
|
||||
auto = subscribe
|
||||
}
|
||||
|
||||
mailbox Archived {
|
||||
auto = subscribe
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
1
dovecot-conf/conf.d/99-local.conf
Normal file
1
dovecot-conf/conf.d/99-local.conf
Normal file
@@ -0,0 +1 @@
|
||||
# Local configuration overrides
|
||||
Reference in New Issue
Block a user