config mailinabox 'main' option enabled '0' option image 'ghcr.io/docker-mailserver/docker-mailserver:latest' option data_path '/srv/mailserver' # Domain configuration (MUST be configured before use) option hostname 'mail.example.com' option domain 'example.com' option timezone 'UTC' # Port mappings option smtp_port '25' option submission_port '587' option submissions_port '465' option imap_port '143' option imaps_port '993' option pop3_port '110' option pop3s_port '995' # Feature flags option enable_pop3 '0' option enable_clamav '0' option enable_spamassassin '1' option enable_fail2ban '1' # SSL configuration # Options: letsencrypt, manual, self-signed option ssl_type 'letsencrypt' # Email for Let's Encrypt notifications (optional but recommended) #option letsencrypt_email 'admin@example.com'