Initial: stack mail Postfix + Dovecot sur Alpine
This commit is contained in:
commit
24cf567d9a
5 changed files with 98 additions and 0 deletions
29
dovecot/dovecot.conf
Normal file
29
dovecot/dovecot.conf
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Protocoles servis
|
||||
protocols = imap
|
||||
|
||||
# Écouter sur toutes les interfaces
|
||||
listen = *
|
||||
|
||||
# --- Emplacement des boîtes : le même Maildir que Postfix ---
|
||||
mail_location = maildir:/var/mail/vhosts/%d/%n
|
||||
# %d = domaine (ayoinc.test), %n = partie locale (alice, bob)
|
||||
|
||||
# --- Authentification ---
|
||||
disable_plaintext_auth = no
|
||||
auth_mechanisms = plain login
|
||||
|
||||
# Base d'utilisateurs : un fichier passwd-file
|
||||
passdb {
|
||||
driver = passwd-file
|
||||
args = scheme=PLAIN username_format=%u /etc/dovecot/users
|
||||
}
|
||||
userdb {
|
||||
driver = static
|
||||
args = uid=5000 gid=5000 home=/var/mail/vhosts/%d/%n
|
||||
}
|
||||
|
||||
# Désactiver SSL pour l'instant (on l'ajoutera proprement après)
|
||||
ssl = no
|
||||
|
||||
# Logs vers la sortie standard (pratique pour podman logs)
|
||||
log_path = /dev/stderr
|
||||
Loading…
Add table
Add a link
Reference in a new issue