
drsteve at rna
Apr 11, 2008, 11:39 AM
Post #1 of 5
(367 views)
Permalink
|
|
Setting up SPF record(s) for the first time
|
|
Greetings, and thanks in advance. We're setting up SPF records for the following situation, and we'd appreciate any advice/guidance you can give. (Please ignore all TTL inconsistancy below.) - All of our machines are on the 169.229.244.128/26 subnet. - We have one outbound mail server, canonical name lego.berkeley.edu (i.e. this is the machine's hostname, and we have a A<->PTR record pair for it): lego.Berkeley.EDU. 3600 IN A 169.229.244.134 134.244.229.169.in-addr.arpa. 86400 IN PTR lego.Berkeley.EDU. - lego has multiple other A records, each of which has zero or more CNAME records that point to it, any & all of which may (potentially) appear in the envelope (i.e. the "Return-Path:" header - is this in fact the part of the envelope we care about?) Thus, for example: mosaic.Berkeley.EDU. 3600 IN CNAME lego.berkeley.edu. bsmb.Berkeley.EDU. 3600 IN A 169.229.244.134 bsmbmail.Berkeley.EDU. 3600 IN CNAME bsmb.Berkeley.EDU. etc. Thus: mail can appear to come from 'user[at]lego.berkeley.edu', or 'user[at]mosaic.berkeley.edu', or 'user[at]bsmb.berkeley.edu' or 'user[at]bsmbmail.berkeley.edu'. - We also have other machines with A<->PTR pairs, e.g.: everest.berkeley.edu. 3600 IN A 169.229.244.163 163.244.229.169.in-addr.arpa. 86400 IN PTR everest.Berkeley.EDU. that send mail out through lego, the name(s) of which can appear in the envelope, i.e. mail can come from 'user[at]everest.berkeley.edu'. - Each of the A records in our environment has three MX records associated with it, e.g.: everest.berkeley.edu. 3600 IN MX 5 lego.berkeley.edu. everest.berkeley.edu. 3600 IN MX 25 wintermute.berkeley.edu. everest.berkeley.edu. 3600 IN MX 50 fractal.berkeley.edu. Neither wintermute nor fractal act as mail servers at the moment, nor are there plans for them to in the near- to medium-term future (fractal never will). So. We are thining that we need something like *all* of the following: lego.berkeley.edu. 86400 IN TXT "v=spf1 ip4:169.229.244.128/26 -all" mosaic.berkeley.edu. 86400 IN TXT "v=spf1 ip4:169.229.244.128/26 -all" bsmb.berkeley.edu. 86400 IN TXT "v=spf1 ip4:169.229.244.128/26 -all" bsmbmail.berkeley.edu. 86400 IN TXT "v=spf1 ip4:169.229.244.128/26 -all" everest.berkeley.edu. 86400 IN TXT "v=spf1 ip4:169.229.244.128/26 -all" etc. Is this correct? Also: do we want '-all', or '~all', or something else? -- Steve Lane System, Network and Security Administrator Doudna Lab Biomolecular Structure and Mechanism Group UC Berkeley ------------------------------------------- Sender Policy Framework: http://www.openspf.org Modify Your Subscription: http://www.listbox.com/member/ Archives: http://www.listbox.com/member/archive/1020/=now RSS Feed: http://www.listbox.com/member/archive/rss/1020/ Powered by Listbox: http://www.listbox.com
|