Skip to content
Snippets Groups Projects
Verified Commit 3e3db3ba authored by David Mehren's avatar David Mehren
Browse files

Use /etc/aliases to work with the default AppArmor profile

parent 7b6d98d0
No related branches found
No related tags found
No related merge requests found
...@@ -12,4 +12,4 @@ ...@@ -12,4 +12,4 @@
- name: Copy aliases file - name: Copy aliases file
template: template:
src: aliases.j2 src: aliases.j2
dest: /etc/msmtp_aliases dest: /etc/aliases
root: {{ msmtp_relay_root_email }} root: {{ msmtp_relay_root_email }}
postmaster: {{ msmtp_relay_root_email }} postmaster: {{ msmtp_relay_root_email }}
webmaster: {{ msmtp_relay_root_email }} webmaster: {{ msmtp_relay_root_email }}
nobody: {{ msmtp_relay_root_email }}
www: {{ msmtp_relay_root_email }}
...@@ -7,4 +7,4 @@ account default ...@@ -7,4 +7,4 @@ account default
from {{ msmtp_from }} from {{ msmtp_from }}
{% endif %} {% endif %}
host {{ msmtp_relay_relayhost }} host {{ msmtp_relay_relayhost }}
aliases /etc/msmtp_aliases aliases /etc/aliases
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment