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).