Skip to content

Commit

Permalink
fix(dkim): added additional dkim log entries
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Jan 25, 2024
1 parent 89a0b0b commit bed5a64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ async function hookDataPost(stream, plugin, connection) {
_dkim_mod_len: result.modulusLength,
_dkim_canon_header: result.format.split('/').shift(),
_dkim_canon_body: result.format.split('/').pop(),
_dkim_body_size_source: result.sourceBodyLength,
_dkim_body_size_canon: result.canonBodyLengthTotal,
_dkim_body_size_limit: result.canonBodyLengthLimited && result.canonBodyLengthLimit,
_dkim_signing_headers: signingHeaders.join(','),
_dkim_signing_headers_content_type: signingHeaders.includes('content-type') ? 'yes' : 'no',
_content_type_count: contentTypeHeaders.length,
Expand Down

0 comments on commit bed5a64

Please sign in to comment.