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

Fix postfix sasl permission, Refs #39148

parent f753a36d
No related branches found
No related tags found
No related merge requests found
---
- name: "Postmap sasl"
ansible.builtin.command: postmap hash:/etc/postfix/sasl-passwords
ansible.builtin.command: postmap hash:/etc/postfix/sasl_passwd
changed_when: false
- name: "Postmap generic"
......
......@@ -4,8 +4,10 @@
notify: "Postmap sasl"
ansible.builtin.template:
backup: true
src: sasl-passwords.j2
dest: /etc/postfix/sasl-passwords
mode: "644"
src: sasl_passwd.j2
dest: /etc/postfix/sasl_passwd
owner: "root"
group: "root"
mode: "600"
...
......@@ -43,6 +43,6 @@ bounce_notice_recipient = bounces@{{ postfix_mailname }}
# SMTP relay authentication
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
{% 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