From 1ae0ca973d5e3dace1dd7dc881e0266ced344978 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 26 Nov 2015 09:48:42 -0400 Subject: Added Propellor.Property.Fail2Ban. --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Propellor/Property/SiteSpecific') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 2e34d75f..ff92bf2d 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -17,6 +17,7 @@ import qualified Propellor.Property.Obnam as Obnam import qualified Propellor.Property.Apache as Apache import qualified Propellor.Property.Postfix as Postfix import qualified Propellor.Property.Systemd as Systemd +import qualified Propellor.Property.Fail2Ban as Fail2Ban import Utility.FileMode import Data.List @@ -541,6 +542,8 @@ kiteMailServer = propertyList "kitenet.net mail server" $ props & dkimInstalled & Postfix.saslAuthdInstalled + & Fail2Ban.installed + & Fail2Ban.jailEnabled "postfix-sasl" & "/etc/default/saslauthd" `File.containsLine` "MECHANISMS=sasldb" & Postfix.saslPasswdSet "kitenet.net" (User "errol") -- cgit v1.2.3