Skip to content

Commit c74a10a

Browse files
committed
limit to one recipient per delivery
1 parent 0b00384 commit c74a10a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

roles/postfix/tasks/main.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
- lineinfile: dest=/etc/postfix/main.cf line="mydestination = mail.lilik.it, lists.lilik.it, localhost" state=present
5656
notify: restart_postfix
5757

58+
- name: Configure Postfix (limit to one recipient for every delivery)
59+
lineinfile:
60+
dest: /etc/postfix/main.cf
61+
line: "dovecot_destination_recipient_limit = 1"
62+
state: present
63+
notify: restart_postfix
64+
5865
- blockinfile:
5966
dest: "/etc/dovecot/conf.d/10-master.conf"
6067
insertafter: "unix_listener auth-userdb {"

0 commit comments

Comments
 (0)