You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,10 @@ None
41
41
*`postfix_smtp_ipv4_bind`[optional]: Outbound network interfaces to use (IPv4) ([see](http://www.postfix.org/postconf.5.html#smtp_bind_address))
42
42
*`postfix_smtp_ipv6_bind`[optional]: Outbound network interfaces to use (IPv6) ([see](http://www.postfix.org/postconf.5.html#smtp_bind_address6))
43
43
44
-
*`postfix_relayhost`[default: `''` (no relay host)]: Hostname to relay all email to
45
-
*`postfix_relayhost_mxlookup`[default: `false` (not using mx lookup)]: Lookup for MX record instead of A record for relayhost
46
-
*`postfix_relayhost_port`[default: 587]: Relay port (on `postfix_relayhost`, if set)
44
+
*`postfix_relayhost`[default: `''` (no relay host)]: Hostname to relay all email to. **Deprecated**, use `postfix_relayhosts`.
45
+
*`postfix_relayhosts`[default: `[]` (no relay host)]: List of hostnames to relay all email to (setting multiple hosts only works in **postfix 3.5 and later**)
46
+
*`postfix_relayhost_mxlookup`[default: `false` (not using mx lookup)]: Lookup for MX record instead of A record for relayhosts
47
+
*`postfix_relayhost_port`[default: `587`]: Relay port (on all hosts in `postfix_relayhosts`)
47
48
*`postfix_relaytls`[default: `false`]: Use TLS when sending with a relay host
48
49
49
50
*`postfix_smtpd_client_restrictions`[optional]: List of client restrictions ([see](http://www.postfix.org/postconf.5.html#smtpd_client_restrictions))
@@ -149,7 +150,7 @@ Provide the relay host name if you want to enable relaying:
149
150
postfix_aliases:
150
151
- user: root
151
152
alias: you@yourdomain.org
152
-
postfix_relayhost: mail.yourdomain.org
153
+
postfix_relayhosts: [mail.yourdomain.org]
153
154
```
154
155
155
156
Provide the relay domain name and use MX records if you want to enable relaying to DNS MX records of a domain:
@@ -163,7 +164,7 @@ Provide the relay domain name and use MX records if you want to enable relaying
0 commit comments