Question

Email bounces back with 550 5.7.1 SPF unauthorized mail is prohibited

Asked by: AnthonyJK

Hello, I have a client trying to email my boss and keeps coming back with the error below. It looks like its on our part but not sure how to fix it. I researched it but found pretty much nothing. Our email is hosted with GoDaddy and then we have Postini as our Spam Filtering. I looked for any SPF settings on Postini but did not see anything. Thanks for any help.

**********

The original message was received at Thu, 20 Aug 2009 11:33:49 -0500 (CDT)
from mithril@localhost

   ----- The following addresses had permanent fatal errors -----
<bossname@example.com>
    (reason: 550 5.7.1 SPF unauthorized mail is prohibited.)

   ----- Transcript of session follows -----
... while talking to example.com.s7a1.psmtp.com.:
>>> DATA
<<< 550 5.7.1 SPF unauthorized mail is prohibited.
554 5.0.0 Service unavailable

*************

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-21 at 07:12:26ID24671396
Tags

SPF

,

SMTP

,

Postini

,

Email

Topics

Simple Mail Transfer Protocol (SMTP)

,

Email Software

,

Miscellaneous Software

Participating Experts
2
Points
500
Comments
29

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. SPF record and Godaddy
    We use godaddy to manage our domain entries. Latley I have have alot of emails that appear to be comming from internal telling users that their account is disabled or virus software is not right and to click the link. I know the ip address that these are comming from which is...
  2. "SPF unauthorized mail is prohibited" error on OUTGOING …
    My users are receiving the below error message when sending to a few specific outside recipients. This happens consistently with these recipients. The odd thing is that these messages appear to be generated by our Exchange server and happen immediately - in other words, our...
  3. MailEnable issue with SPF
    We are using MailEnable to send order confirmations from a website we host, to an email address hosted elsewhere. These confirmations go through sometimes and other times I am getting this error: DATA 550 5.7.1 SPF unauthorized mail is prohibited. 6 48 Which is strange bec...
  4. Error #550 5.7.1 SPF unauthorized mail is prohibited…
    Users in my orginization periodically get this message when trying to send emails to certain people outside the orginization. We have an in house Exchange server 2007 and Postini as our spam filtering service. I have reaserched this issue and read some interesting things, ...
  5. Unndeliverable - #550 5.7.1 SPF unauthorized mail…
    See below? I have a user that can't send mail to a particular person/domain. I know the problem is on the other parties end. How do I explain this? ---------------------------------- Your message wasn't delivered because of security policies. Microsoft Exchange will not try ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: shauncroucherPosted on 2009-08-21 at 07:19:45ID: 25152045

It sounds like they have an SPF record setup for their domain, and you are checking the list and finding that the sender is using an IP address that is not listed in their own 'Allow' list.

Shaun

 

by: moorhouselondonPosted on 2009-08-22 at 11:55:35ID: 25159776

Look at the Sender's SPF record (look in the TXT record of the DNS of the Sender domain).  Does it match the Sender details i.e., same IP address, etc.?

 

by: AnthonyJKPosted on 2009-08-24 at 11:43:20ID: 25171128

Is this what you mean? They are checking into it on their side as well.

100 mail.genesishealth.com 65.125.109.6 86400 SMTP Test

Record: v=spf1 ip4:65.125.109.16/30 ip4:65.125.109.6 a:mail.genesishealth.com a:mail0.genesishealth.com a:mail1.genesishealth.com a:mail2.genesishealth.com a:securemail.genesishealth.com -all

 

by: shauncroucherPosted on 2009-08-24 at 11:49:52ID: 25171181

Yes,

This means that email from the domain should only be coming from these places:

65.125.109.16-19
65.125.109.6
64.22.192.81

You should be able to see in your logs (if you have SMTP logging enabled) the IP address that the sending server is using. If the IP does not match one of the above to '-all' setting they have created instructs your server (and other servers checking SPF) to consider the email NOT FROM A VALID SOURCE.

Shaun

 

by: moorhouselondonPosted on 2009-08-24 at 11:52:43ID: 25171212

http://www.dnsgoodies.com/

reports that you do not have a PTR Record/Reverse DNS.  This is likely to be the reason why emails from this domain aren't accepted.

 

by: AnthonyJKPosted on 2009-08-24 at 11:55:18ID: 25171238

Actually their email doesnt even make it out of their network. As soon as they hit the send button they get the message (Below) so i dont have any kind of logs from them at all. They sent me the message below so thats how i got it. Hopefully that help a little.

**********

The original message was received at Thu, 20 Aug 2009 11:33:49 -0500 (CDT)
from mithril@localhost

   ----- The following addresses had permanent fatal errors -----
<bossname@example.com>
    (reason: 550 5.7.1 SPF unauthorized mail is prohibited.)

   ----- Transcript of session follows -----
... while talking to example.com.s7a1.psmtp.com.:
>>> DATA
<<< 550 5.7.1 SPF unauthorized mail is prohibited.
554 5.0.0 Service unavailable

*************

 

by: moorhouselondonPosted on 2009-08-24 at 12:02:21ID: 25171314

Ask your Broadband Service Provider to setup your Domain on their system such that you have Reverse DNS setup - it could be that they are not recognizing your domain and think that your system is behaving as a relay for genesishealth.com.  They might therefore reject your message, which would account for the speed of failure.  The SPF error looks to be a red herring here.

 

by: shauncroucherPosted on 2009-08-24 at 12:14:33ID: 25171423

The IP addresses for the SPF record - many do not have properly constructed PTR records, they have their placeholders instead (one does though, seems to be a hosted IT service - 64.22.192.81). You would need to know which IP was being used to send mail, and at the moment, that has not been clarified.

It seems from the NDR you are using a hosted email solution, so that is why you do not have access to the logs.

The error message this company is getting is being generated either by your hosted email solution, MOST likely because they are sending using an IP they haven't declared in their SPF record, or possibly because of PTR, but that is not clear at the moment, we don't know what IP they are using to send mail and that is not the descriptive reason given in the failure message.

Shaun

 

by: moorhouselondonPosted on 2009-08-24 at 12:16:26ID: 25171437

Hmmm it looks like you might have two issues at play here:-

(1) The Reverse DNS issue I've aleady mentioned.

(2) I was a bit puzzled as to why you were not seeing an Unable to Relay message against the 550 5.7.1 handshake result.  It seems that it could be your SPAM filter after all: Ok this isn't the same product as you are using:-

http://social.technet.microsoft.com/Forums/en-US/exchangesvrantivirusandantispam/thread/14916bc2-71d4-458d-af45-91a74ea016ea

but it looks as if your LAN pc's are not being recognized as being on your LAN.  The SPAM filter thinks they are outside the LAN and that they are trying to relay messages out through your mail server.  This accounts for the SPF error as the SPAM filter us consulting your SPF record and correctly deducing that 192.168.0.x (or whatever your local LAN is, is not a valid sending address).

 

by: shauncroucherPosted on 2009-08-24 at 12:31:08ID: 25171577

I'm a little confused with your post moorhouselondon?

Perhaps I am not understanding the issue here:

AnthonyJK -  An external user is trying to send to your domain right?
The external user is getting a bounce back as above?
The external user has an SPF record setup?

You are not having any issues with outbound mail are you?

Shaun

 

by: shauncroucherPosted on 2009-08-24 at 12:33:08ID: 25171592

When I say hosted email solution I'm talking about this here:

example.com.s7a1.psmtp.com

This looks to me like a hosted AntiVirus or Spam filtering service?

Correct me if I'm wrong there. Is example.com above actually yourdomain.com?

shaun

 

by: moorhouselondonPosted on 2009-08-24 at 12:48:10ID: 25171760

I'm unsure whether anthonyjk has anonymised any of the output, so in the absence of this, and not sure who sender and recipient are, I'm cautious of being too specific.  I'm not comfortable with seeing a message with @localhost on its' headers - if this is internet-facing then there will be problems with that.

 

by: AnthonyJKPosted on 2009-08-24 at 13:01:32ID: 25171918

Wow thanks for all the feedback....Here is the real domains and what happended.

A client was emailing my boss and got the following error a minute later. The client forwarded this error to me at a different email address. (All i changed below is my bosses name) The mithril@localhost is orginal and what the client sent me.

**********

The original message was received at Thu, 20 Aug 2009 11:33:49 -0500 (CDT)
from mithril@localhost

   ----- The following addresses had permanent fatal errors -----
<myboss@unitedlinenservices.com>
    (reason: 550 5.7.1 SPF unauthorized mail is prohibited.)

   ----- Transcript of session follows -----
... while talking to unitedlinenservices.com.s7a1.psmtp.com.:
>>> DATA
<<< 550 5.7.1 SPF unauthorized mail is prohibited.
554 5.0.0 Service unavailable

*************


 

by: AnthonyJKPosted on 2009-08-24 at 13:02:31ID: 25171935

Oh and yes our email is hosted with Godaddy and we have Postini as our Spam Filtering Service.

 

by: moorhouselondonPosted on 2009-08-24 at 13:08:42ID: 25172005

Were you saying that unitedlinenservices.com has a SPAM filter?  

If so, my explanation is that myboss email is hitting the SPAM filter and is being treated as an incoming message before it gets to be seen by your mail server.  The SPAM filter is correctly saying that SPF fails on this message because it's coming from an internal, rather than external source, so it is failing it.  

If my thoughts are correct then you need to configure the SPAM filter to ignore messages on the local LAN emanating from internal IP addresses.

 

by: AnthonyJKPosted on 2009-08-24 at 13:11:01ID: 25172032

Yes, unitedlinenservices.com is our domain with Postini as our Spam Filtering Service.

The clients domain is genesishealth.com

 

by: AnthonyJKPosted on 2009-08-24 at 13:12:20ID: 25172043

Ah, i will check out Postini again to see if i can find an option that will ignore messages on the local LAN emanating from internal IP addresses.

 

by: shauncroucherPosted on 2009-08-24 at 13:17:36ID: 25172115

I disagree. I believe that the mithril@localhost may just be something postini generate.

The email is being rejected by the third party SPAM provider (postini) because they have identified tha the email is being sent from an IP address that is not included in the SPF record. SPF works on IP, not on header information such as @localhost.

I would ask the senders what public IP address is being used for sending mail and check that this is correct.

The sending domain use a -all which is a lot more strict that ~all. Are they experiencing problems elsewhere?

This must be the problem here.

Shaun

 

by: moorhouselondonPosted on 2009-08-24 at 13:19:40ID: 25172142

Where is Postini hosted?  Is there a way to send emails emanating from your domain direct to your hosted mail server rather than through Postini?  This would be through some authentication process so that the mail server verifies the traffic is from you.

 

by: shauncroucherPosted on 2009-08-24 at 13:23:47ID: 25172195

moorhouselondon - The poster is not having an issue with outbound mail. This is an issue with a specific external sender sending mail inbound.
 
Postini is a hosted email filtering service offered by google. It is this service that is rejecting the mail due to an SPF fail.

It looks pretty straightforward at the moment, until more information becomes obvious, my number 1 suspicion is that genesishealth is using an IP address to send mail that is not included on their SPF record.

Shaun

 

by: moorhouselondonPosted on 2009-08-24 at 13:44:07ID: 25172415

My apologies shaun (and to anthonyjk for confusing the issue), rereading things properly yes I agree that I have misunderstood this.  


The way to deduce the info that shaun is after is in this message:-

>The client forwarded this error to me at a different email address

Was this message also sent from the genesishealth.com domain?  If so, have a look at the headers within that message and this should say which IP it came from.

 

by: AnthonyJKPosted on 2009-08-24 at 13:57:26ID: 25172549

Here is their Message Details from when they sent to my other email address.

X-AOL-UID: 3070.1721295458
X-AOL-DATE: Thu, 20 Aug 2009  4:36:53 PM Eastern Daylight Time
Return-Path: <clientname@genesishealth.com>
Received: from rly-dc01.mx.aol.com (rly-dc01.mail.aol.com [172.19.136.30]) by air-dc06.mail.aol.com (v124.15) with ESMTP id MAILINDC062-b004a8db3d952; Thu, 20 Aug 2009 16:36:52 -0400
Received: from mail1.genesishealth.com (65-125-109-18.dia.static.qwest.net [65.125.109.18]) by rly-dc01.mx.aol.com (v124.15) with ESMTP id MAILRELAYINDC014-b004a8db3d952; Thu, 20 Aug 2009 16:36:42 -0400
Received: from 10.20.20.9 (mithril@localhost)
      by mail1.genesishealth.com  with ESMTP id n7KKafc03027
      for <myemail@aol.com>; Thu, 20 Aug 2009 15:36:41 -0500 (CDT)
      (envelope-from smithalyce@genesishealth.com)
Received: from mail.genesishealth.com (10.20.20.9 [10.20.20.9]) by mail1.genesishealth.com ([10.20.20.27]); 20 Aug 2009 15:36:41 -0500 (CDT)
Received: from ok [10.20.20.52] by mail.genesishealth.com - SurfControl E-mail Filter (6.0.0); Thu, 20 Aug 2009 15:36:34 -0500
Received: from GENESIS-MTA by mailrelay      with Novell_GroupWise; Thu, 20 Aug 2009 15:36:27 -0500
X-SEF-Processed: 6_0_0_39__2009_08_20_15_36_34
X-SEF-ZeroHour-RefID: fgs=0
X-SEF-7853D99-ADF1-478E-8894-213D316B8FFA: 1
References: <4A8D348D.CB16.0070.0@genesishealth.com> <4A8D5F73.CB16.0070.0@genesishealth.com> <8CBEFE560152A64-AE8-2ABE@webmail-de18.sysops.aol.com> <4A8D67AA.2CD9.00F7.0@genesishealth.com> <8CBEFEC173EDE13-E68-6872@webmail-me13.sysops.aol.com>
X-Mailer: Novell GroupWise Internet Agent 7.0.3
From: "Client Name" <clientname@genesishealth.com>
To: myemail@aol.com
Date: Thu, 20 Aug 2009 15:36:17 -0500
Message-ID: <4A8D6D71.2CD9.00F7.0@genesishealth.com>
In-Reply-To: <8CBEFEC173EDE13-E68-6872@webmail-me13.sysops.aol.com>
Subject: Re: Genesis Health System - Crescent Laundry
MIME-Version: 1.0
Content-Type: TEXT/plain; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7BIT
X-AOL-IP: 65.125.109.18

 

by: moorhouselondonPosted on 2009-08-24 at 14:40:18ID: 25172909

Looks ok to me: that message was sent to your AOL account from:-

a: mail1.genesishealth.com
ip4: 65.125.109.18

which are both listed in the SPF record.

 

by: moorhouselondonPosted on 2009-08-24 at 14:48:24ID: 25172973

I would say that 65.125.109.18 does not have Reverse DNS setup correctly.  

 

by: shauncroucherPosted on 2009-08-24 at 15:47:21ID: 25173259

I agree rDNS is not setup correctly, and the SPF details seem to reflect an IP address the email is coming from (65.125.109.18)

I have run a number of tests and I cannot get an SPF failure myself, even when I am using a duff IP address for my own domain!

It only leaves rDNS as the culprit, but it still is a VERY misleading message if rDNS is the issue.

Are there any other senders getting similar NDR's?  

Are you doing SPF checks on your Exchange server at all? Any other anti-spam on your server at all?

Shaun


 

by: AnthonyJKPosted on 2009-08-24 at 15:56:49ID: 25173300

Yes another client from @genesishealth.com tried to email to @unitedlinenservices.com and got the same message.

We at unitedlinenservices.com do not have an exchange server. Email is hosted with GoDaddy and then we use Postini for Spam Filtering. There is no other anti-spam or firewall appliances.

 

by: moorhouselondonPosted on 2009-08-24 at 23:29:52ID: 25174933

Shaun:  You are remembering that this is setup as -all rather than ~all ? (re your earlier comment).  

To my mind it is strange that AOL (who arguably are one of the more aggressive rejectors of malconfigured email out there) should choose to accept a message which has been rejected in this case.  It's almost as if SPF is weighted more highly (and decisively) than RDNS by AOL.

 

by: shauncroucherPosted on 2009-08-25 at 01:32:31ID: 25175477

I believe I know why this is happening.

I managed to get the SPF response by using an IP address that is on blacklists (it also has no reverse DNS).  

So, checked the genesishealth IP 65.125.109.18 and lo and behold, it is on a blacklist. This is nearly certainly the issue here. See http://www.mxtoolbox.com/blacklists.aspx and it shows they are on blacklist NOMOREFUNN.

I'd also advise for genesishealth to get a Reverse DNS record setup, because this will cause problems, but also being on a blacklist will cause more problems!

Shaun

 

by: AnthonyJKPosted on 2009-08-26 at 07:02:10ID: 25187763

Weird i choose the last comment as the accepted solution but it defaulted to the top one. Anyways thanks very much for all the help. They believe the last comment is the problem as well and they are looking into it. Without this they would have still said it was my problem :) Thanks again.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...