Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

[SOLVED]DKIM not valid for IPv6 as permitted sender

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
newtron
Posts: 22
Joined: Wed Jan 13, 2016 4:43 pm

[SOLVED]DKIM not valid for IPv6 as permitted sender
  • Quote

Post by newtron » 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:

Code: Select all

Received-SPF: pass (google.com: domain of ***@***.com designates ****:****:*:****::1 as permitted sender) client-ip=****:****:*:****::1;
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

Code: Select all

dc_local_interfaces='127.0.0.1; ::1'
to

Code: Select all

dc_local_interfaces='127.0.0.1'
2º Add "disable_ipv6=true" to /etc/exim4/update-exim4.conf.conf

Like this:

Code: Select all

SPAMASSASSIN = yes
SPAM_SCORE = 50
CLAMD =  yes
disable_ipv6=true
Now restart Exim and Bindwith with terminal (or in VestaCP Panel) and now our emails dont go to SPAM folder :D

Code: Select all

/etc/init.d/exim4 restart
/etc/init.d/bind9 restart
P.D. I didnt know really if its DKIM or IPv6 problem but.. this will solve the Google's "SPAM" firewall
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: [SOLVED]DKIM not valid for IPv6 as permitted sender
  • Quote

Post by tjebbeke » Mon Jan 25, 2016 10:50 am

add your ipv6 address to your spf record
Top

newtron
Posts: 22
Joined: Wed Jan 13, 2016 4:43 pm

Re: [SOLVED]DKIM not valid for IPv6 as permitted sender
  • Quote

Post by newtron » Mon Jan 25, 2016 11:44 am

tjebbeke wrote:add your ipv6 address to your spf record
Without ipv6 address in spf record thats the gmail rensponse:

Code: Select all

Received-SPF: softfail (google.com: domain of transitioning ***@***.com does not designate ****:****:*:****::1 as permitted sender) client-ip=****:****:*:****::1;
The difference??? "designate" & "does not designate", but if you add ipv6 addres gmail is still moving the mail to SPAM folder...
Top

Rick74
Posts: 1
Joined: Tue Mar 22, 2016 10:31 pm

Re: [SOLVED]DKIM not valid for IPv6 as permitted sender
  • Quote

Post by Rick74 » Tue Mar 22, 2016 10:35 pm

Just noting, that under Ubuntu 15, the second file to be changed in order to disable ip6, is NOT

Code: Select all

/etc/exim4/update-exim4.conf.conf
But:

Code: Select all

/etc/exim4/exim4.conf.template
I was making these changes, as I am trying to implement DKIM /DMARC files. Not finished yet.
Let me know if your original post is being update, in that case I will delete this update.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password