From 2faeb5ea5f882ac37d25ca13af5c083fec7a23fe Mon Sep 17 00:00:00 2001 From: david Date: Wed, 4 Feb 2015 13:07:35 +0100 Subject: [PATCH] should accept localhost as well as localhost.localdomain --- postfix/files/main.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix/files/main.cf b/postfix/files/main.cf index d863b78..8968c14 100644 --- a/postfix/files/main.cf +++ b/postfix/files/main.cf @@ -40,7 +40,7 @@ {{ set_parameter('myhostname', grains['fqdn']) }} {{ set_parameter('alias_maps', 'hash:/etc/aliases') }} {{ set_parameter('alias_database', 'hash:/etc/aliases') }} -{{ set_parameter('mydestination', grains['fqdn'] + ', localhost.localdomain, ' + grains['domain'] ) }} +{{ set_parameter('mydestination', grains['fqdn'] + ', localhost, localhost.localdomain, ' + grains['domain'] ) }} {{ set_parameter('relayhost', '') }} {{ set_parameter('mynetworks', '127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128') }} {{ set_parameter('mailbox_size_limit', '0') }}