Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I config smtp server with postfix , and Debian 6.

I set 1 ip from 4 Ips of server for smtp server

mail.mydomain.com xxx.yyy.zzz.hhh

but when I send mail with smtp server , Destination server give back to me another ip of server.

Received-SPF: fail (google.com: domain of root@mail.mydomain.com does not designate xxx.yyy.zzz.jjj as permitted sender) client-ip=xxx.yyy.zzz.jjj; Authentication-Results: mx.google.com;

spf=hardfail (google.com: domain of root@mail.mydomain.com does not designate xxx.yyy.zzz.jjj as permitted sender) smtp.mail=root@mail.mydomain.com

In my Bind configuration and /etc/hosts config this subdomain passed to correct IP . for this IP changed my SPF check give me failed .

what happend when i send mail with smtp server ?

share|improve this question

1 Answer 1

You should add the four IPs to DNS record like

v=spf1 ip4:x.x.x.x ip4:x.x.x.x ip4:x.x.x.x ip4:x.x.x.x  -all    
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.