linux - DKIM : Signature header exists but is not valid -


i have configured postfix spf , dkim emails marked spam.

here domain.db (i use bind9) :

... mail._domainkey in      txt     ( "v=dkim1; k=rsa; p=abcd" ) 

i verify :

host -t txt mail._domainkey.domain.com 

i receive (ok) :

mail._domainkey.domain.com descriptive text "v=dkim1\; k=rsa\; " "p=abcd" 

i've checked problem on email-tester.com, , 10/10, dkim seems correctly installed.

but when check content of email, see :

... dkim:pass dkim:pass spf:pass ... x-spam-report:  * -0.0 no_relays informational: message not relayed via smtp * -0.0 no_received informational: message has no received headers *  0.0 t_dkim_invalid dkim-signature header exists not valid  x-spam-status: no, score=0.0 required=5.0 tests=no_received,no_relays, t_dkim_invalid autolearn=ham autolearn_force=no version=3.4.0 

any idea ?

----- update -------

after adding in master.cf :

-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters 

here new email content :

... dkim:pass   (now there one: ok) spf:pass  ... x-spam-report:  * -1.0 all_trusted passed through trusted hosts via smtp  x-spam-status: no, score=-1.0 required=5.0 tests=all_trusted autolearn=ham autolearn_force=no version=3.4.0 

which seems better, email still marked spam, grrr

here's what's going on spf record.

go link , change dns server `google public dns (8.8.8.8)

https://www.unlocktheinbox.com/dnstools/spf/luckeo.fr/ 

the results of spf v=spf mx ip4:176.58.101.240 ~all

now change dns advantage (156.154.70.1)

the results of spf v=spf1 mx ip4:176.58.101.240 ~all

notice difference v=spf vs v=spf1

so dns hasn't propagated yet , depending on how receiving email server looks dns records you're running issues. wait 24 hours , if you're still having issues, reply back.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -