summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Postfix.hs
diff options
context:
space:
mode:
authorJoey Hess2015-03-12 16:59:33 -0400
committerJoey Hess2015-03-12 16:59:33 -0400
commit798787078291746666d4f3069b96ae9788a911d8 (patch)
treec485b5c9884edcc3d09a4fcf843a57077c64cbe2 /src/Propellor/Property/Postfix.hs
parent858ac699a2bb1e495e4bfd07b4305b19ec13b9ee (diff)
seems that setting postfix/destinations to " " makes debconf put in a
default config, not appropriate for a client relay. Set to localhost instead.
Diffstat (limited to 'src/Propellor/Property/Postfix.hs')
-rw-r--r--src/Propellor/Property/Postfix.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Postfix.hs b/src/Propellor/Property/Postfix.hs
index 0abd783e..8557f083 100644
--- a/src/Propellor/Property/Postfix.hs
+++ b/src/Propellor/Property/Postfix.hs
@@ -38,7 +38,7 @@ satellite = check (not <$> mainCfIsSet "relayhost") setup
[ Apt.reConfigure "postfix"
[ ("postfix/main_mailer_type", "select", "Satellite system")
, ("postfix/root_address", "string", "root")
- , ("postfix/destinations", "string", " ")
+ , ("postfix/destinations", "string", "localhost")
, ("postfix/mailname", "string", hn)
]
, mainCf ("relayhost", domain)