sending mail from 2 domains: spf problem

frank d

Verified User
Joined
Oct 31, 2006
Messages
11
I have my own mail server (mail.domain.com) at say 81.82.83.84
I have a directadmin webserver (www.domain.com) at 87.88.89.90 from which I can send out mail as well through a webform.
How would I set up the spf record for this?
Currently it's
domain.com. TXT "v=spf1 a mx ip4:81.82.83.84;87.88.89.90?all"

This doesn't seem to work though as hotmail rejects mails being sent from the webserver (87.88.89.90). It accepts mail from my mail server though (81.82.83.84)

In my mx record I have
mail MX 10
and an A record:
mail A 81.82.83.84

What am I doing wrong?

edit: Tried "v=spf1 a mx ip4:87.88.89.90 ?all" and a couple of other combinations, but nothing seems to work.
 
Last edited:
That's what you want to do:
Code:
"v=spf1 a mx ip4:81.82.83.84 ip4:87.88.89.90 ?all"
..but, since 81.82.83.84 is the MX record, you don't need to declare it explicitly. That's what you should have:
Code:
"v=spf1 a mx ip4:87.88.89.90 ?all"
...and if it's not working, it means the Email message is not sent by one or the other IP address. Check the headers and receiver MTA logs.
 
thx for the suggestions Martino. I had tried those settings as well and they don't work either.
The emails are being sent, it's just that hotmail refuses to accept them, I get a bounce mail back. I've contacted hotmail and hope they'll give me a reply. We're not on their black list though.

Frank
 
Last edited:
I've had and currently have absurd problems with hotmail too, their system is so old and messy that I think noone there fully understands how it works anymore. It's sad.
 
Back
Top