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 use sendmail MTA and dovecot and have SPF configured, my domain txt entries: descriptive text "IN" "v=spf1 ip4:x.x.x.x ip4:x.x.x.x ip4:x.x.x.x ip4:x.x.x.x mx -all" descriptive text "v=spf1 ip4:x.x.x.x6 ip4:x.x.x.x ip4:x.x.x.x ip4:x.x.x.x"

and i get many emails with such text in logs:

Milter add: header: Received-SPF: None ( domain of\n\tdoes not designate permitted sender hosts)\n\t; client-ip=xx.xx.xx.xx;\n\;

and it looks like emails that should be accepted and delivered.

Do you know what should i do to get it working? I guess it is something with my SPF conf..

share|improve this question
up vote 2 down vote accepted

First off, your SPF record is for the servers sending email on behalf of your domain, it has absolutely nothing to do with receiving email from other domains. If you're having a problem with incoming email look elsewhere.

Secondly, you cannot split your SPF record like that, you'd need to use include: instead, and ideally use only IP addresses instead of a mix of IP addresses and hostnames. For further advice about your SPF record you should provide your actual domain name, or use the SPF mailing list (but do follow BillThor's advice).

share|improve this answer

Try checking your configurate with a testing site such as This is from the site. They also have a tool to help build your SPF record.

EDIT: You have a large list of servers. You should only have a few servers sending email directly to the Internet. Only servers sending email directly to the Internet (boarder servers) need to be listed. All internal servers should relay out through these servers.

If you have roaming users, then setup authenticate access on the submission port for them to send email.

If your domain is being used to send spam, then you may be getting backscatter from poorly configured servers.

share|improve this answer

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.