Besides the already mentioned Thunderbird DKIM Verifier add-on, I can also recommend the Python module dkimpy for this. Under Debian and Ubuntu, it is available in the python-dkim package.
With dkimpy you can easily verify the DKIM signature with the dkimverify < email.eml
command. To get more information why a signature is failing, use the -v
option.