Allow heat to set postfix relayhost value

When using a relay with the postfix element it is useful to be
able to specify the relay host via heat.

Change-Id: I941a7dc9b012b626e44ea52c8cf39d51e9234241
This commit is contained in:
Trent Geerdes 2014-05-01 13:58:07 -06:00
parent 1ca1abfd1c
commit 7f9c0d4b35
2 changed files with 4 additions and 3 deletions

View File

@ -16,6 +16,7 @@ Set postfix hostname and domain via heat:
mailhostname: mail
maildomain: example.com
delay_warning_time: 4h
relayhost: smtp.example.com
*NOTE: mailhostname and maildomain must match the system hostname in order to
ensure local mail delivery will work.
ensure local mail delivery will work.

View File

@ -27,8 +27,8 @@ alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = {{postfix.mailhostname}}.{{postfix.maildomain}}, localhost.{{postfix.maildomain}}, localhost
relayhost =
relayhost = {{postfix.relayhost}}
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_interfaces = all