No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-19 11:34:54 -04:00
defaults Initial commit 2026-10-19 11:34:54 -04:00
handlers Initial commit 2026-10-19 11:34:54 -04:00
meta Initial commit 2026-10-19 11:34:54 -04:00
tasks Initial commit 2026-10-19 11:34:54 -04:00
templates Initial commit 2026-10-19 11:34:54 -04:00
README.md Initial commit 2026-10-19 11:34:54 -04:00

exim4

Installs Exim4 as a local-only mail server (Debian local config type): mail for local users is delivered to ~/Maildir; nothing is sent to other hosts. Debian/Ubuntu only. Requires become.

Variables

Variable Default
exim4_hostname ansible_facts['fqdn']
exim4_listen [127.0.0.1, "::1"]
exim4_smtp_ports [25]
exim4_maildir Maildir
exim4_dovecot_auth false
exim4_dovecot_auth_socket /run/dovecot/auth-client

exim4_hostname is used for HELO, /etc/mailname, and as a local domain.

Set exim4_dovecot_auth: true to offer SMTP AUTH (PLAIN/LOGIN) checked by dovecot; this installs exim4-daemon-heavy (the light build lacks the dovecot authenticator) and needs the dovecot role's dovecot_exim_auth: true. Add 587 to exim4_smtp_ports for a submission port.

Note: connections from 127.0.0.1 can relay without authenticating (Debian default). Since the config is local-only, nothing leaves the machine.