propellor

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

commit f937ed87aad57ab59d870fd42db431581856a9ac
parent 622aa6d1da4c136427b7dd0da94a26b5d7e936f0
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun,  3 Nov 2019 17:42:46 -0500

Add dkim config for dingy.space

Diffstat:
config.hs | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/config.hs b/config.hs @@ -260,11 +260,18 @@ lyra = host "lyra.ricketyspace.net" $props & File.containsLines "/etc/opendkim/KeyTable" ricketyspaceNetOpenDkimKeyTable & File.containsLines "/etc/opendkim/SigningTable" ricketyspaceNetOpenDkimSigningTable & File.containsLines "/etc/opendkim/TrustedHosts" ricketyspaceNetOpenDkimTrustedHosts + --- opendkim for ricketyspace.net & File.dirExists "/etc/dkimkeys/ricketyspace.net" & File.ownerGroup "/etc/dkimkeys/ricketyspace.net" (User "opendkim") (Group "opendkim") & File.hasPrivContent "/etc/dkimkeys/ricketyspace.net/mail.private" (Context "ricketyspace.net") & File.ownerGroup "/etc/dkimkeys/ricketyspace.net/mail.private" (User "opendkim") (Group "opendkim") + --- opendkim for dingy.space + & File.dirExists "/etc/dkimkeys/dingy.space" + & File.ownerGroup "/etc/dkimkeys/dingy.space" (User "opendkim") (Group "opendkim") + & File.hasPrivContent "/etc/dkimkeys/dingy.space/mail.private" (Context "dingy.space") + & File.ownerGroup "/etc/dkimkeys/dingy.space/mail.private" + (User "opendkim") (Group "opendkim") -- postfix & rsMailAliases & rsPostfixHeaderChecks @@ -295,6 +302,7 @@ lyra = host "lyra.ricketyspace.net" $props , (RootDomain, NS $ AbsDomain "ns6.gandi.net") , (RootDomain, MX 0 $ AbsDomain "lyra.ricketyspace.net") , (RootDomain, TXT "v=spf1 mx -all") + , (RelDomain "mail._domainkey", TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyxnjDmXyu4Z+RKCDobnebr9Sp+w20Dmn7KFhjgVtKGirQGnemMZTxlXrO+5Ro8T0Ecq+D472EKxQbXPUr5GG7zxIeqldjU3kOChjAoOE8TUsR9pxShdp2qJylGdqvZqPTMApbzKJPXJC8j7yBA9DspLyaPluj50o8XqmbrWkZaZ4/+05E3MfjqbTJsqr0yDl/3/KoB4Qut3LqTCWrpzvGG4Ixu0wUz5FLPq6U6m7xiEnDMtTMnRDuz2XLcNtQXwHtxrkB9TdViDPA//FQONTtnXtaQjwuEh3FMScElkcYAl3tZr+ZRfgzZanH2YIDf80Og0ZQZkD06i1HQxWrM4SQwIDAQAB") ] -- crons & stagitGenCron @@ -524,11 +532,13 @@ ricketyspaceNetOpenDkimConf = [ ricketyspaceNetOpenDkimKeyTable :: [File.Line] ricketyspaceNetOpenDkimKeyTable = [ "mail._domainkey.ricketyspace.net ricketyspace.net:mail:/etc/dkimkeys/ricketyspace.net/mail.private" + , "mail._domainkey.dingy.space dingy.space:mail:/etc/dkimkeys/dingy.space/mail.private" ] ricketyspaceNetOpenDkimSigningTable :: [File.Line] ricketyspaceNetOpenDkimSigningTable = [ "ricketyspace.net mail._domainkey.ricketyspace.net" + , "dingy.space mail._domainkey.dingy.space" ] ricketyspaceNetOpenDkimTrustedHosts :: [File.Line] @@ -536,6 +546,7 @@ ricketyspaceNetOpenDkimTrustedHosts = [ "127.0.0.1" , "localhost" , "ricketyspace.net" + , "dingy.space" ]