You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
600 B
24 lines
600 B
5 years ago
|
---
|
||
|
|
||
|
- name: Configure Zimbra's sendmail as alternative to sendmail
|
||
|
alternatives:
|
||
|
name: mta
|
||
|
link: /usr/sbin/sendmail
|
||
|
path: /opt/zimbra/common/sbin/sendmail
|
||
|
priority: 90
|
||
|
tags: zcs
|
||
|
|
||
|
- name: Set zimbra's sendmail as the default sendmail
|
||
|
command: update-alternatives --set mta /opt/zimbra/common/sbin/sendmail
|
||
|
changed_when: False
|
||
|
tags: zcs
|
||
|
|
||
|
- name: Handle Zimbra mta ports
|
||
|
iptables_raw:
|
||
|
name: zcs_mta_ports
|
||
|
state: present
|
||
|
rules: "-A INPUT -m state --state NEW -p tcp -m multiport --dports 25,465,587 -j ACCEPT"
|
||
|
when: iptables_manage | default(True)
|
||
|
tags: zcs
|
||
|
|