centos postfix spf ipv6 multiple host one ip
I have multiple hosts on same server with one IP-address
domain1.com domain2.com domain3.com
My linode rDNS is set to domain1.com
SPF for domain1.com is set to v=spf1 ip4:xxx.xxx.xxx.xxx ?all (xxx.xxx.xxx.xxx is the ipv4 address of my linode
SPF for domain2.com is set to v=spf1 mx a:domain2.com a:domain1.com -all
SPF for domain3.com is set to v=spf1 mx a:domain2.com a:domain1.com -all
I also set opendkim but when email is sent i have the following worning:
My problems:
1 - for dkim should I add in iptables a rule allowing 2029 for localhost? How should this rule look like?
2 - for domain1.com when send mail to yahoo, the header of the mail say that SPF pass and referes to linode ip-address, while sending same mail to gmail SPF fails and referes to linode IPV6 address. I don't know anything about ipv6, can it be removed? Do I need it ?
3 - while checking SPF on
BR
2 Replies
1) - the port in /etc/postfix/main.cf was different from one in opendkim.cnf. I set same port and no more warning. Now I got this message :
opendkim[11526]: 7E5B23461: no signing table match for 'admin@domain3.com'
opendkim[11526]: 7E5B23461: no signature data
Do I need to add each mail in some conf file? like
(Hint: I had to disable ipv6)
Here's what I have for my DNS TXT record for SPF in the "Value" field (notice the quotes):
"v=spf1 a ~all"
Here's what I have for my DNS TXT record for DKIM in the "Name" field:
mail._domainkey
Here's what I have for my DNS TXT record for DKIM in the "Value" field:
v=DKIM; k=rsa; p=[here's the key...]
Feel free to add more info (e.g. logs or conf) and I could try to help, if possible. Good luck!