trusteddomainproject / OpenDKIM

Other
97 stars 52 forks source link

Opendkim is broken (on OpenBSD) #117

Open hdatma opened 3 years ago

hdatma commented 3 years ago

This is to inform that Opendkim was broken on OpenBSD 6.7 and is still broken on OpenBSD 6.8. I am referring to https://github.com/openbsd/ports/tree/master/mail/opendkim.

This is the result from the tests:

> make check
====================
All 161 tests passed
====================

This is an example of failure:

>cat test.eml | /usr/local/sbin/opendkim-testmsg
opendkim-testmsg: dkim_eom(): Bad signature

This is the expected result, test done by Perl's Mail::DKIM and confirmed by third party tests:

>perl ./check_dkim.pl < test.eml
signature identity: @example.com
verify result: fail (body has been altered)

There is a difference between a bad signature and an altered body.

The failure occurs using both the OpenBSD official package and my cured local version with the git code.

Linux (fedora 33) does not even include opendkim-testmsg.

I recommend testing your own installation.

TheQue42 commented 3 years ago

Since I am having problems with opendkim on openbsd, with mail coming from for instance o365, it would be nice if someone could confirm this?

thegushi commented 1 year ago

hdatma,

Do you still see this against the develop branch?