postfix-formula/postfix/iptables-input.sls

26 lines
591 B
Plaintext
Raw Normal View History

postfix-iptables-iptables-chain-present-smtp-input:
2014-04-23 21:50:54 +02:00
iptables.chain_present:
- name: smtp.input
2014-04-23 21:50:54 +02:00
postfix-iptables-iptables-insert-smtp-iptables-tcp:
2014-04-23 21:50:54 +02:00
iptables.insert:
- name: smtp.iptables.tcp
2014-04-23 21:50:54 +02:00
- table: filter
- position: 1
- chain: smtp.input
- jump: ACCEPT
- match: state
- connstate: NEW,ESTABLISHED
- dport: 25
- proto: tcp
- save: True
postfix-iptables-iptables-insert-smtp-iptables-filter:
2014-04-23 21:50:54 +02:00
iptables.insert:
- name: smtp.iptables.filter
2014-04-23 21:50:54 +02:00
- table: filter
- position: 1
- chain: INPUT
- jump: smtp.input
- save: True