postfix + opendkim not signing correctly. how to debug this?

The below line for setting Canonicalization can sometimes help. At least it worked for me very recently.

Canonicalization        relaxed/relaxed