Commit 3e311109 authored by Mattia Rizzolo's avatar Mattia Rizzolo

postfix: add firewall rule

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mapreri@ubuntu.com>
parent 7c868b0d
...@@ -44,3 +44,10 @@ ...@@ -44,3 +44,10 @@
mode: 0755 mode: 0755
owner: root owner: root
group: ssl-cert group: ssl-cert
- name: install the firewall rule
template:
src: firewall.sh
dest: /etc/firewall/postfix.sh
mode: 0744
notify: common.reload-firewall
#
# {{ ansible_managed }}
#
cmd -A public_input_tcp -p tcp --dport 25 -j ACCEPT
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment