Not all sites use their fqdn as the 'myorigin' value. The new
$postfix_myorigin variable makes it possible to specify a custom value
for this option.
When no values are specified, keep the default behaviour of using $fqdn
as the value for myorigin.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
case $postfix_inet_interfaces {
"": { $postfix_inet_interfaces = 'all' }
}
+ case $postfix_myorigin {
+ "": { $postfix_myorigin = $fqdn }
+ }
# Bootstrap moduledir
include common::moduledir
# Default configuration parameters
postfix::config {
- "myorigin": value => "${fqdn}";
+ "myorigin": value => "${postfix_myorigin}";
"alias_maps": value => "hash:/etc/aliases";
"inet_interfaces": value => "${postfix_inet_interfaces}";
}