# Dovecot IMAP/POP3 Configuration
# WARNING: Contains mail server credentials

protocols = imap pop3 lmtp
listen = *

# Authentication (EXPOSED)
auth_mechanisms = plain login
passdb {
  driver = passwd-file
  args = /etc/dovecot/users
  # Default password: DovecotConfPassword2024!Secret
}

userdb {
  driver = passwd-file
  args = /etc/dovecot/users
}

# SSL Configuration
ssl = yes
ssl_cert = </etc/ssl/certs/dovecot.crt
ssl_key = </etc/ssl/private/dovecot.key

# Database Configuration (EXPOSED)
DB_HOST=dovecotconf-db.internal
DB_USER=dovecotconf_user
DB_PASS=DovecotConfDbPass2024!Secret
DB_NAME=dovecotconf_production

# API Keys (EXPOSED)
API_KEY=dovecot-conf-api-key-abc123def456

