[Rspamd-Users] DKIM signing not working

Tino Hendricks t.hendricks at interpool.de
Sun Jun 25 10:28:09 UTC 2023


Hi List,

I got 3 virtual domains, say

domain1.com <http://domain1.com/>
domain2.com <http://domain1.com/>
domain3.com <http://domain1.com/>

DKIM keys are successfully entered in DNS.


My /etc/rspamd/local.d/dkim_signing.conf:
sign_authenticated = true;
use_esld = true;
allow_username_mismatch = true;
use_domain = "header";
allow_hdrfrom_mismatch = true;
allow_hdrfrom_mismatch_sign_networks = true;
domain {
    domain1.com <http://domain1.com/> {
        path = "/var/lib/rspamd/dkim/domain1.com <http://domain1.com/>.dkim.key";
        selector = "dkim";
    }
    domain2.com <http://domain1.com/> {
        path = "/var/lib/rspamd/dkim/domain2.com <http://domain1.com/>.dkim.key";
        selector = "dkim";
    }
    domain3.com <http://domain1.com/> {
        path = "/var/lib/rspamd/dkim/domain3.com <http://domain1.com/>.dkim.key";
        selector = "dkim";
    }
}

With 
/etc/rspamd/local.d/logging.inc:
debug_modules = ["dkim_signing", "dkim"]

I’m only getting:

2023-06-25 12:13:57 #17148(normal) <65ee60>; dkim_signing; lua_dkim_tools.lua:193: mail is ineligible for signing

Can I find out why it is ineligible?

Thanks

Tino

	


More information about the Users mailing list