dovecot 2.3.21.1

This commit is contained in:
2025-03-15 10:24:09 +01:00
parent 7351684c53
commit 7f30b430dd
4 changed files with 76 additions and 8 deletions

View File

@@ -0,0 +1,40 @@
# Dovecot Konfiguration mit Plain-Text Passwörtern
# Für Version 2.3.21.1
# Protokolle aktivieren
protocols = imap pop3
# Logging
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot-info.log
debug_log_path = /var/log/dovecot-debug.log
# Mail-Location
mail_location = maildir:/var/mail/%u
# Authentifizierung
auth_mechanisms = plain login
disable_plaintext_auth = no
# Benutzerdatenbank (passwd-datei)
passdb {
driver = passwd-file
args = scheme=PLAIN username_format=%u /etc/dovecot/passwd
}
userdb {
driver = passwd-file
args = username_format=%u /etc/dovecot/passwd
}
# Passwort-Schema (plaintext)
default_pass_scheme = PLAIN
# Mail-Berechtigungen
mail_uid = vmail
mail_gid = vmail
# SSL-Konfiguration
ssl = yes
ssl_cert = </etc/dovecot/ssl/dovecot.crt
ssl_key = </etc/dovecot/ssl/dovecot.key

4
dovecot/config/passwd Normal file
View File

@@ -0,0 +1,4 @@
# Format: Benutzername:Passwort:UID:GID:Benutzerinfo:Home-Verzeichnis:Shell
# Für Plaintext-Passwörter
user1:{PLAIN}geheim:1000:1000::/var/mail/user1:/bin/false
user2:{PLAIN}passwort123:1001:1000::/var/mail/user2:/bin/false