Rspamd: Difference between revisions
imported>Asbachb mNo edit summary |
imported>Onny Add DKIM key configuration |
||
Line 24: | Line 24: | ||
''; | ''; | ||
}; | }; | ||
</nowiki>}} | |||
=== DKIM key === | |||
This module verifies the authenticity of emails through the analysis of DKIM signatures. In this example, we're configure a custom DKIM key file path suitable for the mailserver [[Maddy]] and adjust the group permissions for the Rspamd service. | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
services.rspamd = { | |||
enable = true; | |||
locals."dkim_signing.conf".text = '' | |||
selector = "default"; | |||
path = "/var/lib/maddy/dkim_keys/$domain_$selector.key"; | |||
''; | |||
}; | |||
systemd.services.rspamd.serviceConfig.SupplementaryGroups = [ "maddy" ]; | |||
</nowiki>}} | </nowiki>}} | ||
[[Category:Mail Server]] | [[Category:Mail Server]] |