Skip to main content

email - Why is my SPF Record not working?

itemprop="text">


A spammer is using my
domain to send spam, and I'm receiving a large amount of bounced email.



I have an SPF record on the domain, however it
doesn't appear to be having any effect. Receiving MTA's seem to be claiming my domain is
neutral about all sending ips.



My SPF Record
is:



v=spf1 include:_spf.google.com
-all



(The
domain is foomatic.net)



And as an example, one
bounced email contained the following SPF
message



Received-SPF: neutral
(foomatic.net: domain of dhfeo@foomatic.net is neutral about designating 86.105.67.98 as
permitted sender)


Can
anyone shed some light as to why this SPF record isn't working
correctly?



(The full email header is
below)




Return-Path:

X-YahooFilteredBulk:
86.105.67.98
X-Originating-IP: [86.105.67.98]
Received-SPF: neutral
(foomatic.net: domain of dhfeo@foomatic.net is neutral about designating 86.105.67.98 as
permitted sender)
Authentication-Results: mta524.mail.kks.yahoo.co.jp
from=foomatic.net; domainkeys=neutral (no sig)
Received: from 86.105.67.98
(HELO foomatic.net) (86.105.67.98)
by mta524.mail.kks.yahoo.co.jp with SMTP;
Fri, 24 Sep 2010 05:07:52 +0900
Received: from unknown
(180.137.66.216)
by mtu23.bigping.com with NNFMP; Thu, 23 Sep 2010 22:51:22
+0200

Received: from rly04.hottestmile.com ([Thu, 23 Sep 2010
22:43:07 +0200])
by qrx.quickslick.com with LOCAL; Thu, 23 Sep 2010 22:43:07
+0200
Received: from [173.232.106.195] by public.micromail.com.au with QMQP;
Thu, 23 Sep 2010 22:34:49 +0200
Message-ID:
<497DB50E.4021779C@foomatic.net>
Date: Thu, 23 Sep 2010 22:22:19
+0200
From: "Ella"
MIME-Version:
1.0
To:
Subject: ready 4
u
Content-Type: text/plain;


charset="us-ascii"
Content-Transfer-Encoding:
7bit

class="post-text" itemprop="text">
class="normal">Answer



You might
want to suspect the MTA involved.



As far as I
can tell, your SPF record is set up correctly. I sent a message to one of my addresses
(Gmail) using a sender address from your domain (test@foomatic.net). Gmail does evaluate
SPF, but always delivers the message regardless. Here are the headers I
got:



Received-SPF: fail (google.com: domain of
test@foomatic.net does not designate XXX.XXX.XXX.XXX as permitted sender)
client-ip=XXX.XXX.XXX.XXX;
Authentication-Results: mx.google.com;
spf=hardfail (google.com: domain of test@foomatic.net does not designate XXX.XXX.XXX.XXX
as permitted sender)
smtp.mail=test@foomatic.net




My guess
is that the servers for yahoo.co.jp aren't evaluating SPF correctly, but I don't have
any email address with them, so I can't test it to make sure. Aside from that, you might
be running into other MTA's that simply don't respect SPF hardfail, resulting in
messages still getting delivered.


Comments

Popular posts from this blog

iLO 3 Firmware Update (HP Proliant DL380 G7)

The iLO web interface allows me to upload a .bin file ( Obtain the firmware image (.bin) file from the Online ROM Flash Component for HP Integrated Lights-Out. ) The iLO web interface redirects me to a page in the HP support website ( http://www.hp.com/go/iLO ) where I am supposed to find this .bin firmware, but no luck for me. The support website is a mess and very slow, badly categorized and generally unusable. Where can I find this .bin file? The only related link I am able to find asks me about my server operating system (what does this have to do with the iLO?!) and lets me download an .iso with no .bin file And also a related question: what is the latest iLO 3 version? (for Proliant DL380 G7, not sure if the iLO is tied to the server model)

linux - Awstats - outputting stats for merged Access_logs only producing stats for one server's log

I've been attempting this for two weeks and I've accessed countless number of sites on this issue and it seems there is something I'm not getting here and I'm at a lost. I manged to figure out how to merge logs from two servers together. (Taking care to only merge the matching domains together) The logs from the first server span from 15 Dec 2012 to 8 April 2014 The logs from the second server span from 2 Mar 2014 to 9 April 2014 I was able to successfully merge them using the logresolvemerge.pl script simply enermerating each log and > out_putting_it_to_file Looking at the two logs from each server the format seems exactly the same. The problem I'm having is producing the stats page for the logs. The command I've boiled it down to is /usr/share/awstats/tools/awstats_buildstaticpages.pl -configdir=/home/User/Documents/conf/ -config=example.com awstatsprog=/usr/share/awstats/wwwroot/cgi-bin/awstats.pl dir=/home/User/Documents/parced -month=all -year=all...

linux - How can I get my mediawiki to stop thinking I have cookies disabled?

I've searched half a day for how to resolve this issue, and can't figure it out. Shortly after I made my wiki a simple private wiki according to the instructions at Mediawiki's website, it started giving me this weird login error message: Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again. If I remove those private wiki settings, the error disappears, even if I try logging in. But I need it to be a private wiki for only my team. So what do I do? Here's what I've done so far. Just to be safe, after ever change, I try rebooting Apache using: sudo /etc/init.d/apache2 restart In my php.ini file, I have the following set: session.save_path = "/var/lib/php5" session.cookie_secure = secure session.cookie_path = /tmp session.cookie_domain = my server's internal URL (should I even set this? this field was blank before, but not commented out) session.referer_check = Off I ran the following to ensure that the fold...