|
|
|
@@ -30,3 +30,13 @@ |
|
|
|
- virtual-mailbox-maps |
|
|
|
- virtual-alias-maps |
|
|
|
|
|
|
|
- name: Define dovecot service in master.cf |
|
|
|
shell: postconf -vM dovecot/unix='dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -d ${recipient}' |
|
|
|
notify: restart postfix |
|
|
|
|
|
|
|
- name: Set virtual_transport to dovecot |
|
|
|
shell: postconf virtual_transport=dovecot |
|
|
|
|
|
|
|
- name: Restricting delivery to Dovecot to one email at a time |
|
|
|
shell: postconf dovecot_destination_recipient_limit=1 |
|
|
|
|