propellor

propellor config for hosts.
git clone git://git.ricketyspace.net/propellor.git
Log | Files | Refs | LICENSE

commit fb85fd739132becacfdef00a927d9056348cee9a
parent e05dd1026b54c10a0ed33e82f67bf0b763c8a409
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu,  1 Feb 2018 05:14:41 +0000

propellor spin

Diffstat:
config.hs | 21++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/config.hs b/config.hs @@ -686,7 +686,9 @@ lyra = host "lyra.ricketyspace.net" $props & ricketyspaceNetGitCertKey -- opendkim & File.containsLines "/etc/opendkim.conf" ricketyspaceNetOpenDkimConf - `onChange` Service.restarted "opendkim" + & File.containsLines "/etc/opendkim/KeyTable" ricketyspaceNetOpenDkimKeyTable + & File.containsLines "/etc/opendkim/SigningTable" ricketyspaceNetOpenDkimSigningTable + & File.containsLines "/etc/opendkim/TrustedHosts" ricketyspaceNetOpenDkimTrustedHosts -- bind & Dns.primary hosts "ricketyspace.net" (Dns.mkSOA "lyra.ricketyspace.net" 20180129) @@ -876,6 +878,23 @@ ricketyspaceNetOpenDkimConf = [ , "Socket inet:12345@localhost" ] +ricketyspaceNetOpenDkimKeyTable :: [File.Line] +ricketyspaceNetOpenDkimKeyTable = [ + "mail._domainkey.ricketyspace.net ricketyspace.net:mail:/etc/dkimkeys/ricketyspace.net/mail.private" + ] + +ricketyspaceNetOpenDkimSigningTable :: [File.Line] +ricketyspaceNetOpenDkimSigningTable = [ + "ricketyspace.net mail._domainkey.ricketyspace.net" + ] + +ricketyspaceNetOpenDkimTrustedHosts :: [File.Line] +ricketyspaceNetOpenDkimTrustedHosts = [ + "127.0.0.1" + , "localhost" + , "ricketyspace.net" + ] + m31 :: [Host] -- Andromeda. Computers outside s' galaxy. m31 = [ host "ns6.gandi.net" $ props