4 - name: 'debconf(1): configure Postfix as "Satellite system"'
11 question=postfix/main_mailer_type
12 value="Satellite system"
15 - update "postfix" configuration
17 - name: 'debconf(1): set system mail name'
24 question=postfix/mailname
25 value="{{ postfix_mailname }}"
28 - update "postfix" configuration
30 - name: 'debconf(1): set SMTP relay host'
37 question=postfix/relayhost
38 value="{{ smtp_relay_host }}"
41 - update "postfix" configuration
43 - name: 'debconf(1): set root and postmaster recipient'
50 question=postfix/root_address
51 value="{{ postfix_root_address }}"
54 - update "postfix" configuration
56 - name: 'debconf(1): set other destinations to accept mail for'
63 question=postfix/destinations
64 value="{{ postfix_destinations }}"
67 - update "postfix" configuration
69 - name: 'debconf(1): set local networks'
76 question=postfix/mynetworks
77 value="{{ postfix_local_networks }}"
80 - update "postfix" configuration
82 - name: 'debconf(1): set mailbox size limit'
89 question=postfix/mailbox_limit
90 value="{{ postfix_mailbox_limit }}"
93 - update "postfix" configuration
95 - name: 'debconf(1): set local address extension character'
102 question=postfix/recipient_delim
103 value="{{ postfix_recipient_delim }}"
106 - update "postfix" configuration
108 - name: 'debconf(1): set internet protocols to use'
115 question=postfix/protocols
116 value="{{ postfix_protocols }}"
119 - update "postfix" configuration
121 - name: 'debconf(1): configure synchronous updates on mail queue'
128 question=postfix/chattr
129 value="{{ postfix_sync_updates }}"
132 - update "postfix" configuration
134 - name: install "postfix" package
143 - name: setup "/etc/mailname"
156 - name: set Posfix "myorigin"
161 dest=/etc/postfix/main.cf
163 line="myorigin = /etc/mailname"
170 - name: set Posfix "inet_interfaces"
175 dest=/etc/postfix/main.cf
176 line="inet_interfaces = {{ postfix_interfaces }}"
177 regexp="^inet_interfaces"
181 - name: ensure service "postfix" is enabled and started