[SOLVED]DKIM not valid for IPv6 as permitted sender
Posted: Mon Jan 25, 2016 9:33 am
I had a problem with DKIM in Debian 8.2 server (famous Kimsufi, omg...), well...
If i sent an email to any gmail account he goes to spam folder... i check the headers email and we can see that:
Google marks the email as "permitted" but, he goes to SPAM folder anyway. But... check that! Hes seeing the IPv6 from my server!
Ok, we have a EXIM problem with IPv6 (probably DKIM key not valid for IPv6), EXIM and default config installs with IPv6 enabled as default so, we have to disable it.
1º Edit /etc/exim4/update-exim4.conf.conf
Change
to
2º Add "disable_ipv6=true" to /etc/exim4/update-exim4.conf.conf
Like this:
Now restart Exim and Bindwith with terminal (or in VestaCP Panel) and now our emails dont go to SPAM folder :D
P.D. I didnt know really if its DKIM or IPv6 problem but.. this will solve the Google's "SPAM" firewall
If i sent an email to any gmail account he goes to spam folder... i check the headers email and we can see that:
Code: Select all
Received-SPF: pass (google.com: domain of ***@***.com designates ****:****:*:****::1 as permitted sender) client-ip=****:****:*:****::1;
Ok, we have a EXIM problem with IPv6 (probably DKIM key not valid for IPv6), EXIM and default config installs with IPv6 enabled as default so, we have to disable it.
1º Edit /etc/exim4/update-exim4.conf.conf
Change
Code: Select all
dc_local_interfaces='127.0.0.1; ::1'
Code: Select all
dc_local_interfaces='127.0.0.1'
Like this:
Code: Select all
SPAMASSASSIN = yes
SPAM_SCORE = 50
CLAMD = yes
disable_ipv6=true
Code: Select all
/etc/init.d/exim4 restart
/etc/init.d/bind9 restart