SPF and subdomains |
Post Reply ![]() |
Author | |
nippe ![]() Newbie ![]() Joined: 03 February 2005 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() Posted: 21 October 2004 at 3:33pm |
Looks like SPF-filter is not looking at subdomain. When sender is burkskinka@skutan.smf.se i want to check spf-record for skutan.smf.se NOT smf.se. I want to have a "harder" spf-setting for smf.se and a softer for most of my subdomains - at least in the begining. SPF-setting for smf.se is: v=spf1 ip4:193.15.18.0/24 -all Program bug? ... or my missunderstanding? I have chage the adress in the log to burkskinka@skutan.smf.se. It is one of my spamtraps - do not use it. :) 10-21-04 13:57:57:616 -- (1380) Connection from: 212.247.198.186 - Originating country : Sweden |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
Nippe,SPF records are created for domains (and sub-domains). Unless I'm mistaken and I'm reading your DNS wrong, skutan.smf.se is not a "subdomain" or a zone, but it looks like a simple A record in the smf.se domain. As such, the SPF query is performed on the domain to which it belongs, which is smf.se.SpamFilter will perform SPF queries for subdomains, but they need to be actual domains, not A or CNAME records.Roberto F.
LogSat Software
|
|
![]() |
|
nippe ![]() Newbie ![]() Joined: 03 February 2005 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
It is a subdomain AND has an A-record. Is that not ok in DNS? I think you have done the same with logsat.com and test.logsat.com. A-record and TXT=v=spf1.... Header: |
|
![]() |
|
nippe ![]() Newbie ![]() Joined: 03 February 2005 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
The test at spf.pobox.com say this: Looks ok to me. But i have not done this before. :) |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
Nippe, When I checked your DNS yesterday skutan.smf.se did not seem to be a domain. I checked again with an nslookup and got: > skutan.smf.se smf.se > server ns1.smf.se > ls -d skutan.smf.se
> set type=ns Non-authoritative answer:
> http://www.logsat.com logsat.com
> skutan.smf.se smf.se
It may help if you post your DNS zone files for the smf.se and the skutan.smf.se domains, along with the startup files, so we can try to see if there's anything wrong there. I saw the SPF page with the results for your domain, but please note that during our development we saw that the SPF standards are not very clear, and many developers do not follow them precisely (including the original SPF developers themselves...). For example, one of our earlier versions of SpamFilter tried to find an SPF record even for an "email domain", ex roberto@http://www.logsat.com. This probably would have found the SPF record in your case. But that was wrong, since http://www.logsat.com is yes an email domain, but is not a domain as far as DNS it is concerned. We issued a patch that "fixed" that. Roberto F. |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
When I look for the SPF record using a tool I wrote I get the following: Query Type: TXT Record(s)
NOTE: The ls -d will not work if the DNS server is secured against "Domain Record Dumps" as seems to be the case with this domain. Actually, that is a good thing. Regards, Dan S. |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
Yeap, I saw the same thing. But the issue is not the presence of the TXT record on skutan.smf.se (it's indeed present). The problem is that the SPF filter will only look at a TXT record if the entry at the right of the @ sign in the email address (skutan.smf.se in this case) is an actual "domain". If it's simply an entry in the DNS with an A or CNAME record, that's not good enough. It needs to be an actual domain for the SPF filter to work. And as you said, the domain is secured so I can't check without having more info.Roberto F.
LogSat Software
|
|
![]() |
|
nippe ![]() Newbie ![]() Joined: 03 February 2005 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
I am using MS Windows 2000 DNS - is that the problem. :) Everything else in the domain skutan.smf.se is working: I have tried with ?all instead of ~all - some tools for testing likes that better and give answer NEUTRAL instead of ERROR and UNKNOWN. Just for testing - not a fix for the problem. But I think i proves that standard in this case is not the same word as i the dictionary. :) Spamfilter will not find the SPF-record in skutan.smf.se in a domin created the "Microsoft way". Thy recomend building a strukture of domains like this. (Trying to imitate the GUI.) -Forward Lookup Zones But if I, in smf.se, delegate the subdomain spftest to "myself" and put that domain on the same level as smf.se it works. A lot more work to administrate the DNS-server this way - but if this is the right way (or the only way) to get it working I have to do it.This is far from the only domain in the DNS and i do not want to change everything if I do not have to. -Forward Lookup Zones
|
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
Nippe,I've just posted the follwoing in the parallel SPF thread:===================================
Even though it apparently is against the SPF guidelines, we are noticing several domains being "misconfigured" that are reported as having valid SPF records by various SPF implementations.At this point we decided to "go with the flow", and relax our implementation of SPF a little, marking as valid SPF records for hostnames that are not proper domains. We made available for download in the registered user area pre-release build 2.1.1.386 that has these changes.Roberto F.
LogSat Software
===================================
|
|
![]() |
|
nippe ![]() Newbie ![]() Joined: 03 February 2005 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
Thank you! Standard is good - but spamfighting is our mission! :) I have now made some changes in my dns and installed the pre-release and it is working fine - no "false" positives in the first 10 minutes. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.211 seconds.