27 lines
727 B
Plaintext
Executable File
27 lines
727 B
Plaintext
Executable File
# {{ ansible_managed }}
|
|
|
|
# documentation: https://rspamd.com/doc/modules/dkim_signing.html
|
|
|
|
enabled = true;
|
|
|
|
sign_authenticated = true;
|
|
sign_local = true;
|
|
|
|
use_domain = "header";
|
|
use_redis = false; # don't change unless Redis also provides the DKIM keys
|
|
use_esld = true;
|
|
|
|
# Rspamd will then check whether your private key matches your public key, and you can check possible mismatches by looking at /var/log/supervisor/rspamd.log
|
|
check_pubkey = true; # you wan't to use this in the beginning
|
|
|
|
# allow_hdrfrom_mismatch = true;
|
|
|
|
# allow_username_mismatch = true;
|
|
|
|
domain {
|
|
{{ domain_name }} {
|
|
path = "/tmp/docker-mailserver/rspamd/dkim/rsa-2048-mail-{{ domain_name }}.private.txt";
|
|
selector = "mail";
|
|
}
|
|
}
|