Skip to content
Snippets Groups Projects
Commit 442a53cb authored by Baptiste DE RENZO's avatar Baptiste DE RENZO
Browse files

Merge branch 't39148-fix-sasl-permission' into 'main'

Fix postfix sasl permission, Refs #39148

See merge request sys/ansible-public!78
parents f753a36d 76159f65
No related branches found
No related tags found
No related merge requests found
--- ---
- name: "Postmap sasl" - name: "Postmap sasl"
ansible.builtin.command: postmap hash:/etc/postfix/sasl-passwords ansible.builtin.command: postmap hash:/etc/postfix/sasl_passwd
changed_when: false changed_when: false
- name: "Postmap generic" - name: "Postmap generic"
......
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
notify: "Postmap sasl" notify: "Postmap sasl"
ansible.builtin.template: ansible.builtin.template:
backup: true backup: true
src: sasl-passwords.j2 src: sasl_passwd.j2
dest: /etc/postfix/sasl-passwords dest: /etc/postfix/sasl_passwd
mode: "644" owner: "root"
group: "root"
mode: "600"
... ...
...@@ -43,6 +43,6 @@ bounce_notice_recipient = bounces@{{ postfix_mailname }} ...@@ -43,6 +43,6 @@ bounce_notice_recipient = bounces@{{ postfix_mailname }}
# SMTP relay authentication # SMTP relay authentication
smtp_sasl_auth_enable = yes smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl-passwords smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous smtp_sasl_security_options = noanonymous
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment