Skip to content

Repository Layout

Thilo Fromm edited this page Dec 14, 2023 · 3 revisions

Mailserver 1.2.0 and higher

  • / - shell scripts for starting mailserver and monitoring and for interacting with the container (e.g. user management). Also, Dockerfile for building the container.
  • caddy/ - Caddy config files; copied into the container at container build time.
  • dovecot/ - Dovecot config files; copied into the container at container build time.
  • fail2ban/ - Fail2ban config files; copied into the container at container build time.
  • grafana/ - Grafana provisioning files (dashboards and Prometheus adapter config).
  • opendkim/ - opendkim config files; copied into the container at container build time.
  • opendmarc/ - opendmarc config files; copied into the container at container build time.
  • postfix/ - Postfix config files; copied into the container at container build time.
  • prometheus/ - Prometheus configuration (data sources).
  • scripts/ - In-container scripts and the entrypoint script; copied into the container at container build time.
  • systemd/ - Systemd service units for starting mailserver, monitoring internal networking, and all monitoring services at system boot. Also contains wrapper shell scripts to start mailserver and monitoring services.

Mailserver 1.1.3 and lower

  • / - also contained shell scripts for starting mailserver and monitoring. Multiple monitoring containers were started as background jobs in a single shell script.
  • systemd/ - Did not contain start wrapper scripts for mailserver and monitoring services. Used a single service file for all monitoring services.