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.
|
|
|
---
|
|
|
|
|
|
|
|
- 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: Override zmpostfixpolicyd to support recipient delimiter
|
|
|
|
copy: src=zmpostfixpolicyd dest=/opt/zimbra/libexec/zmpostfixpolicyd
|
|
|
|
notify: restart zimbra
|
|
|
|
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
|
|
|
|
|