Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have configured SMTP service on a windows 2008 server. All the emails sent by the SMTP service are flagged as spam or they are rejected by the recipient of the email.

In the header of the email I noticed

X-SID-Result: FAIL


spf=fail .... x-hmca=fail** 

I hope someone could explain why the verification of email is failing.

The full email header:

Authentication-Results:; spf=fail (sender IP is 19x.18x.12x.16x); dkim=none; x-hmca=fail
X-SID-Result: FAIL
X-Message-Status: n:n
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0xO0Q9MTtHRD0xO1NDTD0z
X-Message-Info: NhFq/7gR1vQhAh5Uns46VTwR4xRSvuAW0HDEmwtlGrJLRuPzYbcrweQc9/vi5y7tv/wPRYnDZxALMzu9XvL/UwdbytE0Lv6jUK7MkoBTn/O4Oia7TV+9F0vdvB/+1N9IKagPiODLVNjh/MYiPUW3i/ADUKyMTaK95RazlUvygznVkxGQaoJMveekXLnmzoSYKHHVVeQpF/Tka0PsrTomstRGz57bj50Y
Received: from VPSxxx ([19x.18x.12x.16x]) by with Microsoft SMTPSVC(6.0.3790.4900);
     Mon, 24 Feb 2014 03:06:51 -0800
Received: from VPSxxx ([]) by VPSxxx with Microsoft SMTPSVC(6.0.3790.4675);
     Mon, 24 Feb 2014 12:06:51 +0100
thread-index: Ac8xUIUYu8qH5earTVaHpdUmHexXQA==
Thread-Topic: test
From: "test" <>
To: <>
Subject: test
Date: Mon, 24 Feb 2014 12:06:51 +0100
Message-ID: <422D954CFCD743E9B5DD2BAB5713896E@VPSxxx>
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4913
X-OriginalArrivalTime: 24 Feb 2014 11:06:51.0731 (UTC) FILETIME=[851AE230:01CF3150]

share|improve this question
up vote 0 down vote accepted

Because of SPF which is a DNS setting.

Basically you are putting up a server to send emails, but the server is not in the list of servers that can send emails for that domain.

SPF - a record in the DNS system - tells for the domain which servers are alowed to send emails.

Simple like that.

I suggest - routing your emails through an authorized server.

That is for in your example.

can be used to get the SPF record.

SPF was created to fight people just using other peoples domains as sender ;) Spam basically. You make sure your server looks like a spam sernder.

share|improve this answer
The hostes a my pop3 email server and 19x.18x.12x.16x is used for hosting the smtp. How should the SPF txt look like? is this correct v=spf1 ip4:19x.18x.12x.16x ~all ? – mrs Feb 24 '14 at 12:28

The sender domain's SPF record doesn't include the IP address or domain name of your server.

You should update your SPF record in DNS so that your server is included there.

share|improve this answer
I updated it to ´v=spf1 ip4:19x.18x.12x.16x ~all´ but im not sure if this is correct – mrs Feb 24 '14 at 12:30

Your Answer


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.