diff --git a/roles/docker/tasks/services/postfix.yml b/roles/docker/tasks/services/postfix.yml index 2851b71..9fb9ce8 100644 --- a/roles/docker/tasks/services/postfix.yml +++ b/roles/docker/tasks/services/postfix.yml @@ -10,11 +10,10 @@ - name: setup postfix docker container for outgoing mail docker_container: name: postfix - image: boky/postfix - restart_policy: unless-stopped + image: boky/postfix:v3.5.0 + restart_policy: always networks: - name: postfix env: ALLOWED_SENDER_DOMAINS: "{{ postfix.allowed_sender_domains|join(' ') }}" - HOSTNAME: "mail.data.coop" # the name the smtp server will identify itself as - + HOSTNAME: "smtp.data.coop" # the name the smtp server will identify itself as