Re: [Asrg] What are the IPs that sends mail for a domain?

Douglas Otis <> Mon, 22 June 2009 22:45 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 0AFBC28C21C for <>; Mon, 22 Jun 2009 15:45:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -6.402
X-Spam-Status: No, score=-6.402 tagged_above=-999 required=5 tests=[AWL=0.197, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id LhRgXuu8S6EX for <>; Mon, 22 Jun 2009 15:45:19 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 3F61D3A68BB for <>; Mon, 22 Jun 2009 15:45:19 -0700 (PDT)
Received: from [IPv6:::1] ( []) by (Postfix) with ESMTP id 215F0A9443D for <>; Mon, 22 Jun 2009 22:45:32 +0000 (UTC)
Message-Id: <>
From: Douglas Otis <>
To: Anti-Spam Research Group - IRTF <>
In-Reply-To: <>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Mon, 22 Jun 2009 15:45:31 -0700
References: <9112777.1871245190785748.JavaMail.franck@iphone-4.genius.local> <> <200906182044.QAA05200@Sparkle.Rodents-Montreal.ORG> <> <200906190149.VAA06902@Sparkle.Rodents-Montreal.ORG> <> <> <> <> <> <>
X-Mailer: Apple Mail (2.935.3)
Subject: Re: [Asrg] What are the IPs that sends mail for a domain?
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Anti-Spam Research Group - IRTF <>
List-Id: Anti-Spam Research Group - IRTF <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 22 Jun 2009 22:45:20 -0000

On Jun 22, 2009, at 1:13 PM, Dotzero wrote:

> Doug,
> I'd take your discussions of SPF more seriously if you would stop  
> conflating SPF and Sender-ID. They are two different animals. SPF  
> (the specification) does not include anything called PRA. Sender-ID  
> includes the concept of PRA. PRA is broken in the spec so there  
> isn't any purpose in spending time discussing it. All one needs to  
> do is look at the paragraph that states that if a sender field  
> exists you set the PRA to that. This bypasses any SPF record  
> published for the Mail From (envelope sender) domain. End of  
> discussion.

The SPF (RFC 4408) lacks a means to constrain the scope of  
authorization records to just Mail-From.  Sender-ID (RFC 4406) section  
3 allows SPF (RFC 4408) records to authorize MTAs based upon PRA  
headers, and perhaps failing that, upon the Mail-From parameter.  RFC  
4406 section 3.1 modifies RFC 4408 versioning and adds a scope  
parameter.  Per RFC 4406 section 3.4, the unmodified SPF record is to  
be considered the same as spf2.0/mfrom,pra. :^(

Section 3.4 of RFC 4406 also states:
If the information in a "v=spf1" record is not correct for a PRA  
check, administrators SHOULD publish either an "spf2.0/pra" record  
with correct information or an "spf2.0/pra ?all" record indicating  
that the result of a PRA check is explicitly inconclusive.

Per RFC 4406, when PRA authorization fails, an attempt to verify Mail- 
 From authorization might be attempted.  When only RFC 4408 has been  
relied upon, the Mail-From domain may inadvertently offer  
authorization based upon PRA headers.  In this case, how SPF records  
are used is uncontrolled.  From an overhead standpoint, RFC 4406  
potentially doubles the overhead related to SPF record resolution.   
Although RFC 4406 recommends against use of MTAs that "lie" about  
local-parts, it failed to exclude macro use, or to consider what  
happens when providers do not restrict the use of domains in  
originating headers, in addition to the use of local-parts.

Email would have likely faired much better by recommending immediate  
rejection, use of RFC 3464, and minimal DSN content with"multipart/ 
report" content types.