• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 635
  • Last Modified:

Mail to hotmail.com is marked as spam

Hello,

Every mail to hotmail.com from our website is marked as spam by Hotmail. If somebody fills in the form the email is relayed to a SMTP server and send to Hotmail. I added a SPF record and SPF2(sender id) record for the website domainname. The mail is send with ...@websitedomainname.

Can somebody help me out?
0
Netaffairs
Asked:
Netaffairs
  • 8
  • 5
1 Solution
 
PapertripCommented:
What does your SPF record look like?  IMO drop the Sender ID, but that isn't the source of your problem (unless it's a typo), so I guess paste that one too for now.
0
 
NetaffairsAuthor Commented:
My SPF records are:
domain.com.      TXT      "spf2.0/pra a mx ip4:1.2.3.4/24 ip4:1.2.3.4/24 ip4:1.2.3.4/24 -all"      
domain.com.      TXT      "v=spf1 a mx ip4:1.2.3.4/24 ip4:1.2.3.4/24 ip4:1.2.3.4/24 -all"
0
 
PapertripCommented:
Wow those are some big CIDR's for SPF :p  Do your A and MX records fall into those ranges?  If so, remove those mechanisms IMO.

Do you know what the envelope MAIL FROM domain is?  Are you 100% certain it's domain.com ?  envelope MAIL FROM domain is what the receiving server uses to query for an SPF TXT record.

I know for a fact that Microsoft (hotmail/live.com/etc) caches SPF results.  How much time between your test without SPF then your test after adding it?

What do the headers look like for Authentication results from gmail?

Signing your mails with DKIM is always good practice btw, but that shouldn't be the issue here.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
NetaffairsAuthor Commented:
Thanks for your reply.

Do you know what the envelope MAIL FROM domain is?  Are you 100% certain it's domain.com ?  envelope MAIL FROM domain is what the receiving server uses to query for an SPF TXT record.
The form is relayed to an external smtp server with a different domainname. In the headers of the hotmail message i see the form from e-mail address

I know for a fact that Microsoft (hotmail/live.com/etc) caches SPF results.  How much time between your test without SPF then your test after adding it?
I added the spf2 record this morning(12 hours ago) and fill in the form to let Microsoft know.

What do the headers look like for Authentication results from gmail?
Received-SPF: pass (google.com: best guess record for domain of
0
 
PapertripCommented:
In the headers of the hotmail message i see the form from e-mail address
FYI there are 2 From's, envelope and body -- make sure you are seeing the correct one.
I added the spf2 record this morning(12 hours ago) and fill in the form to let Microsoft know.
I would drop spf2 entirely -- are you saying that the spf1 record was already there prior to 12 hours ago?  All you added was spf2?
Received-SPF: pass (google.com: best guess record for domain of
That's not what we want to see, we don't want to see "best guess" in there, even if it passes.

An example from an EE mail to my gmail:
Authentication-Results: mx.google.com; spf=pass (google.com: domain of noreply@experts-exchange.com designates 64.156.132.142 as permitted sender) smtp.mail=noreply@experts-exchange.com

Open in new window


That's what it should look like -- "google.com: domain of noreply@experts-exchange.com designates 64.156.132.142 as permitted sender".  Also the smtp.mail that Google adds there is the envelope MAIL FROM, that is the domain that needs to match domain.com

0
 
PapertripCommented:
One more thing
The form is relayed to an external smtp server with a different domainname.
Is that SMTP server the final hop before sending to the internet?  Are all IP's that server uses to send mail in your SPF record for domain.com ?
0
 
NetaffairsAuthor Commented:
OK I removed the spf2 record and now i get the correct message from google but the mail is still marked as spam by hotmail.

I verified its the correct envelope MAIL FROM address. The SMTP server is the final hop and the ips are in the spf record.
0
 
PapertripCommented:
Cool, progress.

Now that authentication is settled, let's move on to why you are still getting tossed into the spam folder.  Check out your reputation at SenderBase and Sender Score.
0
 
NetaffairsAuthor Commented:
I already did that the results are:
SenderBase: Email Reputation Score:      Good
Sender Score: 92

Seems to me no problems
0
 
PapertripCommented:
Unfortunately we are almost to the point of having to contact hotmail, and man I don't envy you if you have to.

Fortunately there is one more thing we can try, signing with DKIM.

Now this is something I would highly recommend regardless of any current deliverability problems.  I would expect that this extra layer of authenticity will be able place you in the inbox.  I would post some links from Google, but you seem to be pretty clued, so setup DKIM signing in postfix and test with gmail, checking the auth results.  I am however happy to assist with that part as well.

I can review and give best practices for both your DKIM signing options as well as the format of your DNS record.
0
 
NetaffairsAuthor Commented:
Hello Papertrip,

I contacted MS/Hotmail and they replied to me within 24 hours. They made a fix and it all works within 48 hours.

We're testing DKIM on our test servers and it all works.

Thanks for your help.
0
 
PapertripCommented:
Awesome!

If you want help with DKIM and SPF best practices, let me know.... Your SPF record could use some fine tuning.
0
 
PapertripCommented:
Hi Netaffairs,

If you have a moment can you please close this question and assign points?

Thanks!!
0
 
Jeff PerkinsOwnerCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 8
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now