emersion / go-msgauth

🔏 A Go library and tools for DKIM, DMARC and Authentication-Results
MIT License
168 stars 52 forks source link

Add support for header comments #2

Open emersion opened 5 years ago

yogo1212 commented 1 week ago

it appears that this is a frequent problem with recent versions of docker-mailserver (postfix + opendkim).

this is a typical Authorization-Results header value for dkim:

mail1.a.local; dkim=pass (2048-bit key; unprotected) header.d=b.local header.i=@b.local header.a=rsa-sha256 header.s=DKIM001 header.b=gBRN3GEb; dkim-atps=neutral

maybe @konimarti can bring https://github.com/emersion/go-msgauth/pull/53 up to speed again?