Skip to content
Snippets Groups Projects
Commit f869535e authored by Chris Croome's avatar Chris Croome
Browse files

Email tweaks

parent df80c96f
No related branches found
No related tags found
No related merge requests found
......@@ -68,10 +68,14 @@
command: postconf -e "mynetworks = 127.0.0.0/8, {{ app_ip_address.stdout }}"
- name: Postfix mydestination set to contain {{ hostname }}
command: postconf -e "mydestination = {{ hostname }}, localhost.localnetwork, localhost"
# command: postconf -e "mydestination = {{ hostname }}, localhost.localnetwork, localhost"
command: postconf -e "mydestination = localhost"
- name: Postfix relay domains set to {{ hostname }}
command: "postconf -e relay_domains={{ hostname }}"
command: postconf -e "relay_domains = {{ hostname }}"
- name: Postfix set not to use /etc/aliases
command: postconf -e "alias_maps = "
- name: Postfix set for ipv4 only
command: postconf -e "inet_protocols = ipv4"
......
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