postfix-formula/postfix/iptables-input.sls
Javier Bértoli 03ad48b8a4 fix(resources): make resources' IDs unique
The new format match the format proposed in the template-formula

BREAKING CHANGE: as all resources' IDs changed, other formulas
depending on this formula's resources will need to be modified
accordingly.
2021-03-15 16:08:07 -03:00

26 lines
591 B
Plaintext

postfix-iptables-iptables-chain-present-smtp-input:
iptables.chain_present:
- name: smtp.input
postfix-iptables-iptables-insert-smtp-iptables-tcp:
iptables.insert:
- name: smtp.iptables.tcp
- 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:
iptables.insert:
- name: smtp.iptables.filter
- table: filter
- position: 1
- chain: INPUT
- jump: smtp.input
- save: True