Fix DKIM headers retrieval
Bug: https://github.com/happyDomain/happydeliver/issues/11
This commit is contained in:
parent
7d3009d7d0
commit
a36824cf27
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ func (d *DNSAnalyzer) AnalyzeDNS(email *EmailMessage, headersResults *api.Header
|
|||
results.SpfRecords = d.checkSPFRecords(spfDomain)
|
||||
|
||||
// Check DKIM records by parsing DKIM-Signature headers directly
|
||||
for _, sig := range parseDKIMSignatures(email.Header["DKIM-Signature"]) {
|
||||
for _, sig := range parseDKIMSignatures(email.Header["Dkim-Signature"]) {
|
||||
dkimRecord := d.checkDKIMRecord(sig.Domain, sig.Selector)
|
||||
if dkimRecord != nil {
|
||||
if results.DkimRecords == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue