diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-12-31 12:01:44 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-12-31 12:01:44 -0400 |
| commit | 39e1237146c046fd2f02fcc492a73079ee77a96f (patch) | |
| tree | 9ff751c7d88c247b43f93daf6e37bd6301837efa /src/Propellor/Property/SiteSpecific | |
| parent | 062387b0295ef081855948faebc2dae62a374d04 (diff) | |
Postfix: Add service property to enable/disable services in master.cf.
Diffstat (limited to 'src/Propellor/Property/SiteSpecific')
| -rw-r--r-- | src/Propellor/Property/SiteSpecific/JoeySites.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 732714db..d7bd9068 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -694,11 +694,17 @@ kiteMailServer = propertyList "kitenet.net mail server" $ props `describe` "pine configured to use local imap server" & Apt.serviceInstalledRunning "mailman" + + & Postfix.service ssmtp where ctx = Context "kitenet.net" pinescript = "/usr/local/bin/pine" dovecotusers = "/etc/dovecot/users" + ssmtp = Postfix.Service + (Postfix.InetService (Nothing, "ssmtp")) + "smtpd" Postfix.defServiceOpts + -- Configures postfix to relay outgoing mail to kitenet.net, with -- verification via tls cert. postfixClientRelay :: Context -> Property HasInfo |
