
spfdiscuss at alandoherty
Feb 10, 2010, 4:34 PM
Post #13 of 13
(2203 views)
Permalink
|
|
Re: Over 255 character SPF record with TinyDNS/djbdns
[In reply to]
|
|
At 20:44 10/02/2010 Wednesday, Aaron Moon wrote: >I tried this and it's not very conclusive I'm not sure what you are claiming to have tried and what wasn't conclusive as you havn't quoted the text of whatever mail you are replying to >I have server A (mail feeder) ok but irrelevant to you spf records >then I have multiple smtp servers that mail is fed to >server s1, s2, s3, s4, s5, s6 ok what are their ip's and helo-names {the names they use to identify themselves to the internet} >mail gets sent to s1, s2, s3, s4, s5 or s6 then those servers actually send the mail. so the envelope sender SPF record needs only specify these 6 servers IPs each of the 6 servers HELO spf needs to specify only their own ip's >DNS server is using BIND 9.3.X pretty much irrelevant >my spf is > >gogvo.com 14400 IN TXT "v=spf1 include:spf1.gogvo.com include:spf2.gogvo.com -all" >spf1 14400 IN TXT "v=spf1 a mx:mail.gogvo.com mx:gogvo.com ip4:12.68.137.213 ip4:12.204.164.198 ip4:12.204.164.163 ip4:12.204.164.52/29 ip4:12.68.141.86/28 ip4:12.204.164.91/30 ip4:12.204.164.93/30 ip4:12.204.164.92/30 ip4:12.68.140.17 -all" >spf2 14400 IN TXT "v=spf1 a mx ip4:12.68.141.104 ip4:12.204.164.49 ip4:12.204.164.86/26 ip4:12.68.140.10/28 ip4:12.97.188.200/29 ip4:12.97.188.208/28 ip4:12.97.188.224/27 ip4:12.68.140.16 ip4:12.68.140.18 -all" ok thats the envelope-senders domain? user [at] gogvo first always list ip4 records FIRST {as these require no other lookups to pass/fail} as rob has pointed out "a mx:mail.gogvo.com mx:gogvo.com" section is moot and a waste of time and ridiculously repeated in "a mx " in second record so quick re-write /re-order gives us the corrected envelope-sender SPF records of gogvo.com 14400 IN TXT "v=spf1 include:spf1.gogvo.com include:spf2.gogvo.com -all" spf1 14400 IN TXT "v=spf1 ip4:12.68.137.213 ip4:12.68.140.17 ip4:12.68.140.16 ip4:12.68.140.18 ip4:12.68.140.10/28 ip4:12.68.141.86/28 ip4:12.68.141.104 ip4:12.97.188.200/29 ip4:12.97.188.208/28 ip4:12.97.188.224/27 -all" spf2 14400 IN TXT "v=spf1 ip4:12.204.164.49 ip4:12.204.164.52/29 ip4:12.204.164.91/30 ip4:12.204.164.92/30 ip4:12.204.164.93/30 ip4:12.204.164.86/26 ip4:12.204.164.163 ip4:12.204.164.198 -all" now after the re-ordering i note that ip4:12.204.164.91/30 ip4:12.204.164.92/30 ip4:12.204.164.93/30 are off as the math is off if its a 91/30 it starts at 88 next one is at 92 {thus 93 also wrong} so i'm guessing many of the other cidr bits are wrong also assuming the servers Helos are sX.gogvo.com ... s1.gogvo.com has an A 12.204.164.52 but no SPF, s2.gogvo.com has neither so each of the helo names needs the relevant A and SPF records setup >I want to check each smtp relayer (that has one of the above IP's) > >this is how i need to check it > >mail generated from 12.204.164.198 is sent to the relay server and that server (s1.gogvo.com) send the actual message)' >does it pass SPF if this is the case 12.204.164.198 {as it never directly sends mail to the interne} should NOT be mentioned in your SPF records >Your tool does not give me the information needed to know what to put in what field the tool and SPF are only concerned with the checking of the ips that connect to MY {everyone-elses} mailservers, we do not look at previous mailserver headers in SPF as they are potentially forged and utterly untrustable >-Aaron > > >On 2/10/2010 2:23 AM, Scott Kitterman wrote: >>Try http://www.kitterman.com/spf/validate.HTML >> >>Scott K >> >>"Aaron Moon"<aaron.m [at] gogvo> wrote: >> >> >>>I had these very same questions, and my ultimate question is there a >>>tool that will allow full SPF testing with includes? >>> >>>I have not found one yet that works >>> >>>ex: I am sending mail from mydomainname.com to my smtp servers and >>>those servers sv1.domainname.com are making the actual delivery to the >>>destination address the spf record is "v=spf1 >>>include:spf1.domainname.com include:spf2.domainname.com -all" >>> >>>and the record for spf1 14400 IN TXT "v=spf1 ip4:xxx.xxx.xxx.xxx/29 >>>ip4:xxx.xxx.xxx.xx1/29 etc.... >>> >>>I want to be able to see full validation with this type of spf setup and >>>something that can test it. Just about everyone out there tells me to >>>go to dnsreport or mxtoolbox but none of these seems to fully check >>>includes so i get a fail..... >>> >>>Any assistance would be helpful >>>-Aaron >>> >>> >>>On 2/9/2010 12:52 PM, CSingh [at] lightspeedresearch wrote: >>> >>>>I am looking for help with the correct syntax for specifying a longer >>>>than 255 characters SPF record in TinyDNS. Here is what I have right now >>>>but it splits the result of the lookup after 127 characters: >>>> >>>> >>>> >>>>'lightspeedaheadnewsletter.com:v=spf1 a mx ip4\07263.236.30.0/25 >>>>ip4\07266.135.41.209 ip4\072198.178.236.128/25 ip4\072198.178.239.0/24 >>>>ip4\072198.178.237.128/25 ip4\07266.139.75.197 ip4\07272.51.41.212 >>>>ip4\07269.41.163.228 ip4\072216.139.208.114 ip4\07264.34.176.174 >>>>ip4\072208.46.128.32/27 ip4\072212.240.95.144/28 ip4\072134.159.111.26 >>>>ip4\072207.126.144.0/20 -all:3600 >>>> >>>>'ewr-mx01.lightspeedresearch.com:v=spf1 a -all:3600 >>>> >>>>'ewr-mx03.lightspeedresearch.com:v=spf1 a -all:3600 >>>> >>>> >>>> >>>>Regards, >>>> >>>>Charan >>>> >>>> >>>>This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. >>>> >>>> >>>> >>>>------------------------------------------- >>>>Sender Policy Framework: http://www.openspf.org [http://www.openspf.org] >>>>Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/] >>>> >>>>Archives: https://www.listbox.com/member/archive/1020/=now >>>>RSS Feed: https://www.listbox.com/member/archive/rss/1020/ >>>>Powered by Listbox: http://www.listbox.com >>>> >>>> >>> >>>------------------------------------------- >>>Sender Policy Framework: http://www.openspf.org [http://www.openspf.org] >>>Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/] >>> >>>Archives: https://www.listbox.com/member/archive/1020/=now >>>RSS Feed: https://www.listbox.com/member/archive/rss/1020/ >>>Powered by Listbox: http://www.listbox.com >>> >>> >> >>------------------------------------------- >>Sender Policy Framework: http://www.openspf.org [http://www.openspf.org] >>Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/] >> >>Archives: https://www.listbox.com/member/archive/1020/=now >>RSS Feed: https://www.listbox.com/member/archive/rss/1020/ >>Powered by Listbox: http://www.listbox.com >> > > > >------------------------------------------- >Sender Policy Framework: http://www.openspf.org [http://www.openspf.org] >Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/] > >Archives: https://www.listbox.com/member/archive/1020/=now >RSS Feed: https://www.listbox.com/member/archive/rss/1020/ >Powered by Listbox: http://www.listbox.com ------------------------------------------- Sender Policy Framework: http://www.openspf.org [http://www.openspf.org] Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/] Archives: https://www.listbox.com/member/archive/1020/=now RSS Feed: https://www.listbox.com/member/archive/rss/1020/ Powered by Listbox: http://www.listbox.com
|