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

webmail

Runs Roundcube (SQLite, no separate database) with Docker Compose in ~/.local/share/webmail, published on 127.0.0.1:8080. Requires a working docker with the compose plugin and the community.docker collection.

The container reaches the host's IMAP and SMTP servers through host.docker.internal (works with Docker Desktop's WSL integration; on a native engine the compose file adds the host-gateway mapping, but the host services must then listen on an address reachable from the container).

Variables

Variable Default
webmail_dir ~/.local/share/webmail
webmail_image roundcube/roundcubemail:latest
webmail_port 8080 (loopback only)
webmail_mail_host host.docker.internal
webmail_imap_port 143
webmail_smtp_port 587
webmail_username_domain ansible_facts['fqdn']

webmail_username_domain is appended to the typed username for the sender identity; the IMAP server must accept user@domain (the dovecot role does). SMTP is authenticated with the IMAP credentials, so use it with exim4_dovecot_auth.