87 lines
1.6 KiB
Plaintext
87 lines
1.6 KiB
Plaintext
# 2.2.13: /etc/dovecot/dovecot.conf
|
|
# ajout de lmtp (service pour déterminer la socket, protocol pour récupérer les mêmes fonctions que le LDA)
|
|
# ajout de auth_username_format = %Ln pour vérifier que l'utilisateur est bien dans la base locale en passant par son nom et non par autre chose…
|
|
# 2018-08-20 mortal réintégration du fichier séparé 15-mailbox.conf + nettoyage/réorganisation + réécriture sieve globale
|
|
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.0
|
|
|
|
listen = *,[::]
|
|
|
|
protocols = imap lmtp
|
|
|
|
ssl_cert = </etc/x509/imap.libertus.eu/fullchain.cer
|
|
ssl_key = </etc/x509/imap.libertus.eu/imap.libertus.eu.key
|
|
|
|
#auth_debug=yes
|
|
#auth_debug_passwords=yes
|
|
|
|
auth_username_format = %Ln
|
|
|
|
passdb {
|
|
driver = pam
|
|
}
|
|
|
|
userdb {
|
|
driver = passwd
|
|
}
|
|
|
|
plugin {
|
|
sieve = ~/sieve/default.sieve
|
|
sieve_dir = ~/sieve
|
|
sieve_before = /etc/dovecot/before.sieve
|
|
}
|
|
|
|
|
|
service auth {
|
|
inet_listener {
|
|
address = 127.0.0.1 ::1
|
|
port = 26
|
|
}
|
|
}
|
|
|
|
protocol sieve {
|
|
mail_location = maildir:~/Maildir
|
|
}
|
|
|
|
service lmtp {
|
|
inet_listener ltmp {
|
|
address = 127.0.0.1 ::1
|
|
port = 24
|
|
}
|
|
}
|
|
|
|
protocol lmtp {
|
|
mail_location = maildir:~/Maildir
|
|
mail_plugins = sieve
|
|
}
|
|
|
|
protocol lda {
|
|
mail_location = maildir:~/Maildir
|
|
mail_plugins = sieve
|
|
postmaster_address = postmaster@example.com
|
|
}
|
|
|
|
namespace inbox {
|
|
inbox=yes
|
|
}
|
|
|
|
## Mailbox definitions
|
|
namespace inbox {
|
|
mailbox Drafts {
|
|
special_use = \Drafts
|
|
}
|
|
mailbox Junk {
|
|
special_use = \Junk
|
|
}
|
|
mailbox Trash {
|
|
special_use = \Trash
|
|
}
|
|
|
|
mailbox Sent {
|
|
special_use = \Sent
|
|
}
|
|
mailbox "Sent Messages" {
|
|
special_use = \Sent
|
|
}
|
|
}
|
|
|