ffs
All checks were successful
/ build (push) Successful in 1m8s

This commit is contained in:
Christoph Haas 2026-08-02 01:45:13 +02:00
parent dd6f008721
commit 51b081c120

View file

@ -17,7 +17,8 @@
# Add quota setup # Add quota setup
# #
# Version 0.4 / 2026-08-01 # Version 0.4 / 2026-08-01
# Add smtpd_sender_login_maps to allow sending as an alias address # Add smtpd_sender_login_maps to allow sending as an alias address.
# Add rspamd's allow_username_mismatch to enable DKIM signing when sending as an alias.
# #
usage() { usage() {
@ -864,6 +865,7 @@ dkim_config() {
cat > /etc/rspamd/local.d/dkim_signing.conf << 'EOF' cat > /etc/rspamd/local.d/dkim_signing.conf << 'EOF'
path = "/var/lib/rspamd/dkim/$domain.$selector.key"; path = "/var/lib/rspamd/dkim/$domain.$selector.key";
selector_map = "/etc/rspamd/dkim_selectors.map"; selector_map = "/etc/rspamd/dkim_selectors.map";
allow_username_mismatch = true;
EOF EOF
# TODO: create a key for $FQDN and test it # TODO: create a key for $FQDN and test it