Re: Re: Case-sensitive status

Scott Kitterman <[email protected]>
Newsgroups gmane.mail.spam.spf.discuss
Message-ID <[email protected]>
On Tuesday, August 09, 2011 05:51:51 PM Julian Mehnle wrote:
> Murray S. Kucherawy wrote:
> > Julian Mehnle wrote:
> > > From my experience I strongly doubt any significant software packages
> > > consuming SPF result codes do so in a case-sensitive manner, but of
> > > course that's only a gut feeling.
> > 
> > Anybody from SA, or someone familiar with its code, on the list that
> > can confirm this?
> 
> I'm not familiar with the SpamAssassin code, but I looked anyway:
> 
>  
> http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plug
> in/SPF.pm?view=markup#l336
> 
> See the //i regexp option in line 355?  It matches case-insensitively.
> 
> That is also the only file in the SA code base (as of 3.3.2) consuming
> Received-SPF headers.

I checked pypolicyd-spf, which is the Postfix policy server for SPF I developed 
and it does not make any assumptions about the case of the result code (it 
downcases and then sets appropriate case to give a consistent presentation in 
SPF Received headers, but that would be trivial to change).

I think it should be fine.

Scott K
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.