sets up docker compose
This commit is contained in:
0
dovecot-conf/auth-system.conf.ext
Normal file
0
dovecot-conf/auth-system.conf.ext
Normal file
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
|
||||
66
dovecot-conf/dovecot.conf
Executable file
66
dovecot-conf/dovecot.conf
Executable file
@@ -0,0 +1,66 @@
|
||||
## You should mount /etc/dovecot if you want to
|
||||
## manage this file
|
||||
|
||||
mail_home=/srv/mail/%Lu
|
||||
mail_location=sdbox:~/Mail
|
||||
mail_uid=1000
|
||||
mail_gid=1000
|
||||
|
||||
protocols = imap pop3 submission sieve lmtp
|
||||
|
||||
first_valid_uid = 1000
|
||||
last_valid_uid = 1000
|
||||
|
||||
passdb {
|
||||
driver = static
|
||||
args = password=pass
|
||||
}
|
||||
|
||||
ssl=yes
|
||||
ssl_cert=<cert.pem
|
||||
ssl_key=<key.pem
|
||||
|
||||
# namespace {
|
||||
# inbox = yes
|
||||
# separator = /
|
||||
# }
|
||||
|
||||
service lmtp {
|
||||
inet_listener {
|
||||
port = 24
|
||||
}
|
||||
}
|
||||
|
||||
service imap-login {
|
||||
process_min_avail = 1
|
||||
client_limit = 1000
|
||||
service_count = 0
|
||||
}
|
||||
|
||||
service pop3-login {
|
||||
process_min_avail = 1
|
||||
client_limit = 1000
|
||||
service_count = 0
|
||||
}
|
||||
|
||||
service submission-login {
|
||||
process_min_avail = 1
|
||||
client_limit = 1000
|
||||
service_count = 0
|
||||
}
|
||||
|
||||
service managesieve-login {
|
||||
process_min_avail = 1
|
||||
client_limit = 1000
|
||||
service_count = 0
|
||||
}
|
||||
|
||||
listen = *
|
||||
|
||||
log_path=/dev/stdout
|
||||
info_log_path=/dev/stdout
|
||||
debug_log_path=/dev/stdout
|
||||
|
||||
verbose_proctitle = yes
|
||||
|
||||
!include_try /etc/dovecot/conf.d/*.conf
|
||||
2
dovecot-conf/users
Normal file
2
dovecot-conf/users
Normal file
@@ -0,0 +1,2 @@
|
||||
user1@example.com:{PLAIN}password1
|
||||
user2@example.com:{PLAIN}password2
|
||||
Reference in New Issue
Block a user