opendkim: make public key world-readable

This commit is contained in:
Juergen Fitschen 2023-03-18 12:26:27 +00:00 committed by lewo
parent e2ca6e45f3
commit c04e4f22da
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ let
--directory="${cfg.dkimKeyDirectory}"
mv "${cfg.dkimKeyDirectory}/${cfg.dkimSelector}.private" "${dkim_key}"
mv "${cfg.dkimKeyDirectory}/${cfg.dkimSelector}.txt" "${dkim_txt}"
chmod 644 "${dkim_txt}"
echo "Generated key for domain ${dom} selector ${cfg.dkimSelector}"
fi
'';