diff --git a/dovecot/config/dovecot/dovecot.conf b/dovecot/config/dovecot/dovecot.conf index d0ba58f..681200a 100644 --- a/dovecot/config/dovecot/dovecot.conf +++ b/dovecot/config/dovecot/dovecot.conf @@ -1,29 +1,26 @@ # /etc/dovecot/dovecot.conf (im Container) -# Konfigurationsversion (muss die erste Einstellung sein) -dovecot_config_version = 2.4.0 - # Grundlegende Einstellungen protocols = imap listen = *, :: # Benutzerauthentifizierung auth_mechanisms = plain login -# passdb { -# driver = passwd-file -# args = scheme=CRYPT username_format=%u /etc/dovecot/users -# } -passdb some_name { + +# Plaintext-Authentifizierung erlauben +disable_plaintext_auth = no + +passdb { driver = passwd-file - args = scheme=PLAIN username_format=%u /etc/dovecot/users # Geändert zu PLAIN für Testzwecke + args = /etc/dovecot/users } userdb { - driver = static - args = uid=vmail gid=vmail home=/var/mail/%d/%n + driver = passwd-file + args = /etc/dovecot/users } # Mail-Speicherort -mail_location = mdbox:/var/mail/%d/%n +mail_location = maildir:/var/mail/%u # Da wir hinter Caddy sind, können wir TLS auf Dovecot deaktivieren # oder nur intern auf nicht-exponierten Ports aktivieren @@ -35,9 +32,9 @@ ssl = no # ssl_key =