1234567891011121314151617181920212223242526272829303132333435363738394041 |
- {% if ansible_controlled is defined and ansible_controlled != "" %}
- #
- # {{ ansible_controlled }}
- #
- {% endif %}
- #
- # Common aliases
- #
- mailer-daemon: postmaster
- postmaster: root
- nobody: root
- webmaster: root
- www-data: root
- abuse: root
- noc: root
- security: root
- logcheck: root
- clamav: root
- monit: root
- {% if mail_aliases is defined %}
- #
- # Custom aliases
- #
- {% for user in mail_aliases %}
- {% if mail_aliases[user][:1] == '|' %}
- {{ user }}: "{{ mail_aliases[user] }}"
- {% else %}
- {{ user }}: {{ mail_aliases[user] }}
- {% endif %}
- {% endfor %}
- {% endif %}
- #
- # root alias
- #
- {% if admins_emails is defined %}
- root: {{ admins_emails | join(', ') }}
- {% endif %}
|