mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-11-07 12:38:46 +01:00
These has been managed outside Ansible for a long time, but with the recent change of the GitLab email domain[1], we must set X-Delivered-To to the service desk email address ourselves as Postfix no longer sets it to the value expected by GitLab. [1]a892df58("Use dedicated subdomain for GitLab emails") Fixes:a892df58("Use dedicated subdomain for GitLab emails")
18 lines
408 B
YAML
18 lines
408 B
YAML
- name: Restart postfix
|
|
service:
|
|
name: postfix
|
|
state: restarted
|
|
|
|
- name: Reload postfix # noqa no-changed-when
|
|
command: postfix reload
|
|
|
|
- name: Postmap additional files # noqa no-changed-when
|
|
command: postmap /etc/postfix/{{ item }}
|
|
loop:
|
|
- domains
|
|
- msa_header_checks
|
|
- users_managed
|
|
|
|
- name: Update aliases db # noqa no-changed-when
|
|
command: postalias /etc/postfix/aliases
|