瀏覽代碼

Adding connection setup between Postfix and Dovecot

merge-requests/1/merge
Christoph Haas 10 年之前
父節點
當前提交
4e53443985
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. +10
    -0
      roles/ispmail-postfix/tasks/main.yml

+ 10
- 0
roles/ispmail-postfix/tasks/main.yml 查看文件

@@ -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


Loading…
取消
儲存