seems that setting postfix/destinations to " " makes debconf put in a

default config, not appropriate for a client relay. Set to localhost
instead.
This commit is contained in:
Joey Hess 2015-03-12 16:59:33 -04:00
parent 858ac699a2
commit 7987870782
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ satellite = check (not <$> mainCfIsSet "relayhost") setup
[ Apt.reConfigure "postfix" [ Apt.reConfigure "postfix"
[ ("postfix/main_mailer_type", "select", "Satellite system") [ ("postfix/main_mailer_type", "select", "Satellite system")
, ("postfix/root_address", "string", "root") , ("postfix/root_address", "string", "root")
, ("postfix/destinations", "string", " ") , ("postfix/destinations", "string", "localhost")
, ("postfix/mailname", "string", hn) , ("postfix/mailname", "string", hn)
] ]
, mainCf ("relayhost", domain) , mainCf ("relayhost", domain)