diff options
author | Malfurious <m@lfurio.us> | 2024-07-09 15:53:34 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-07-09 15:53:34 -0400 |
commit | c8b6d74765064d6205f4d03b2051ee37b8943434 (patch) | |
tree | 9a673efd6e5d9cea95d40c98d5ff33eaba628731 /docker-compose.yml | |
parent | 02da95230612c5ae7a31587b31eca7a8c9a05ce0 (diff) | |
parent | 5d6a5e19976923daccf0464f797b44b6266e6941 (diff) | |
download | mailnode-c8b6d74765064d6205f4d03b2051ee37b8943434.tar.gz mailnode-c8b6d74765064d6205f4d03b2051ee37b8943434.zip |
Merge branch 'dkim'
Install and configure OpenDKIM according to the instructions found in
the OpenDKIM readme: http://www.opendkim.org/opendkim-README
* dkim:
opendkim: Start milter service
opendkim: Disable syslog
opendkim: Configure postfix milter socket
opendkim: Generate keys / TXT record
opendkim: Configure signing parameters
opendkim: Add default config file
opendkim: Setup package and data volume
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 0aeda27..0efa133 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: # CONFIGURE ME! # The FQDN this mail server identifies itself as HOSTNAME: "YOUR-DOMAIN.example" - # All domain names this server accepts mail for (space separated) + # All domain names this server accepts mail for (comma separated) VIRTUAL_DOMAINS: "YOUR-DOMAIN.example" restart: "always" @@ -18,6 +18,7 @@ services: - "mail:/var/mail" - "postfix:/var/spool/postfix" - "mlmmj:/var/spool/mlmmj" + - "dkim:/opendkim" ports: - "25:25" - "465:465" @@ -55,6 +56,15 @@ services: - "mlmmj:/var/spool/mlmmj" command: ["bash", "-c", "/usr/bin/mlmmj-maintd -d /var/spool/mlmmj && sleep infinity"] + opendkim: + image: "mailnode" + pull_policy: "never" + + restart: "always" + volumes: + - "dkim:/opendkim" + command: ["/usr/sbin/opendkim", "-f"] + volumes: certs: external: true @@ -62,6 +72,7 @@ volumes: mail: postfix: mlmmj: + dkim: networks: nginx-proxy-network: |