I host a spread of different domains that all use my (one) mail-server to send and receive mail. When sending mails, sometimes, my mail gets rejected by the receiving end, marked to the recipient as "suspicious" or simply heads straight for the spam folder.
Also, on the inbound, I get a load of "return receipts" from random victims of spam, where one of my domain names has been used even though the mail never touched my mail server.
I have been told, that both issues stems from the fact, that my SPF record is not set properly which i have been attempting to fix for quite a while now. Unfortunately my basic knowledge of the mechanisms behind the record and the syntax itself escapes me somewhat, which is why I'm looking here for help.
For the purpose of the following example, assume the following setup:
- I have two domains:
mydomain.com
andmyotherdomain.com
. - Both domains have active subdomains that send and receive mail through my mailserver.
- My mail server is named
mail.mydomain.com
- All running on the same physical server with the IP address:
85.81.xxx.xxx
. - I have a semi-static IP-address with my ISP, e.g. it never changes but is per say not mine to call my own. A whois on
85.81.xxx.xxx
produces0x39Axxxx.dslpool.isp.com
Using the tool found at http://tools.bevhost.com/spf/ i end up with the following conclusion:
Email Origin : Pass -
85.81.xx.xx
resolves to0x39Axxxx.dslpool.isp.com
which then again resolves to85.81.xx.xx
.Sender Details : Pass -
[email protected]
points to a MX-record that points to my mail sever atmail.mydomain.net
.Host Name HELO / EHLO : Fail -
mail.mydomian.not
resolves to85.81.xxx.xxx
which resolves to0x39Axxxx.dslpool.isp.com
So, the question is: If at all possible, how would I compose the SPF entries for mydomain.com
and myotherdomain.com
to disregard this conflict and allow my sent mails to appear valid when spf validated by the receiver?
Hoping for a response ...