2023-07-22 22:53:56 +00:00
|
|
|
---
|
|
|
|
- name: reload dovecot
|
|
|
|
service: name=dovecot state=reloaded
|
|
|
|
|
|
|
|
- name: restart dovecot
|
|
|
|
service: name=dovecot state=restarted
|
|
|
|
|
|
|
|
- name: restart opendkim
|
|
|
|
service: name=opendkim state=restarted
|
|
|
|
|
|
|
|
- name: restart postfix
|
|
|
|
service: name=postfix state=restarted
|
|
|
|
|
|
|
|
- name: reload postfix
|
|
|
|
service: name=postfix@- state=reload
|
|
|
|
|
2024-05-29 17:45:00 +00:00
|
|
|
- name: new virtual domains
|
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: /etc/postfix
|
|
|
|
cmd: postmap virtual_domains
|
|
|
|
|
2023-07-22 22:53:56 +00:00
|
|
|
- name: new virtual mailboxes
|
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: /etc/postfix
|
|
|
|
cmd: postmap vmailbox
|
|
|
|
|
|
|
|
- name: new virtual mail aliases
|
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: /etc/postfix
|
|
|
|
cmd: postmap virtual
|