Dear Davide,
Thanks for quick feedback.
Nethserver mainly used for email server.
To avoid email consider as SPAM, I enable SPF, DMARC and DKIM signing.
No issue for SPF and DMARC on email test, but fail on DKIM: âwrong body hash: expectedâ for email with content-type: âmultipart/mixedâ or âmultipart/alternativeâ which sent from outlook.
Email sent by web mail client no issue with DKIM.
Below is the configuration in nethserver:
filippo enable dkim
$enable_dkim_verification = 1;
$enable_dkim_signing = 1;
$log_level = 5;
dkim_key(âdomainâ, âdkimâ, â/etc/pki/tls/private/domain.pemâ);
@dkim_signature_options_bysender_maps = ( { â.â => { ttl => 21243600, c => ârelaxed/relaxedâ } } );
I tried to use DKIM canonicalization ârelaxed/simpleâ also same fail result âwrong body hash: expectedâ.
Per googling the issue related with âmime 8 bit encoding converted to mime 7 bit encodingâ as result hash body check fail, since postfix not support smtp with utf8 (smtputf8_enable).