Skip navigation

Mail not incoming from SPF designated Server

3722 Views 16 Replies Latest reply: Nov 29, 2012 3:23 AM by James Rothschild RSS
1 2 Previous Next
James Rothschild Calculating status...
Currently Being Moderated
Nov 23, 2012 8:24 AM

Mail works fine on our OSX Server 10.7.5 and the DNS for the domian name is OK, has been for a year :-) work great.


We have a new website designed for us, and the web site hosting server for the website is sending email as, to: and the enquirers email@address.


We have an SPF TXT record setup to allow the web hosting server, it's smtp domain, and it's IP to send mail as

That SPF TXT record and syntax checks out fine using various tools, and our domain name host says AOK too on their ZONE file.


Problem is emails sent from the web hosting server never arrive at

Everyone else gets the emails, but not our mail server :-(


Help ! (in plain English please)


Thank you,

Mac mini, Mac OS X (10.7.4), Server
  • pterobyte Level 6 Level 6 (10,910 points)
    Currently Being Moderated
    Nov 23, 2012 10:23 AM (in response to James Rothschild)

    While it is possible, I doubt the SPF record is the culprit. Usually spam filters don't give much weight to that (unless you specifically configured yours to do so).


    That said, check the log on the sending server (where your web site resides) and mail.log on your server. Since "email@address" receives the mail, chances are your server is blocking the e-mail. /var/log/mail.log on your server will tell you why.


    There can be several reasons why, but quite often mails generated on a webserver are malformed because of poor scripting.




  • pterobyte Level 6 Level 6 (10,910 points)
    Currently Being Moderated
    Nov 24, 2012 12:03 AM (in response to James Rothschild)

    Yes, that should work. Although, the sending server should normally retry. If it doesn't, then yes, you will have to disable greylisting or whitelist the sender. If the sending mail server is part of a large ISP, do NOT whitelist it by IP as you will open the floodgates for spam.

  • pterobyte Level 6 Level 6 (10,910 points)

    Doesn't look like you disabled greylisting. Could you please post the output of:

    sudo postconf -n

  • pterobyte Level 6 Level 6 (10,910 points)

    Are you sure the log entries are not from an earlier attempt?

    Please try and send a message again and follow it through the logs.

  • pterobyte Level 6 Level 6 (10,910 points)

    Take a step back.


    Send yourself an e-mail from the external server to your server. Follow it through the logs. If nothing at all shows in your log for this sender, then it is not leaving the sending server.

  • pterobyte Level 6 Level 6 (10,910 points)

    If it doesn't reach your mail server then the sending server's logs will know why.

1 2 Previous Next


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.