You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Benoit Panizzon <be...@imp.ch> on 2005/06/22 17:32:30 UTC

Mail::SpamAssassin::Constants missing some IPv6 definitions for Sendmail?

Hi all

I'm checking how much would need to be done to enable spamassassin using IPv6 
DNS-Blacklists.

First problem I came across is in Mail::SpamAssassin::Constants

Sendmail does Received: header of the form:

Received: from go.imp.ch (go.imp.ch 
[IPv6:2001:4060:1:4133:20f:1fff:fe7d:d3da]) by godot.imp.ch (8.13.3/8.13.3) 
with ESMTP id j5MEmrHI046300 ...

They get apparently get correctly parsed by the regexes in Recived.pm, but the 
definition of an IP_ADDRESS in Mail::SpamAssassin::Constants does seam to 
miss that IPv6 Addresses in Sendmail are prepended by the String 'IPv6:' so 
the address is never filled in IP_ADDRESS and the address is not available to 
any further tests.

Is this going to be fixed in a future release?

Regards
-- 
BenoƮt Panizzon, <bp...@imp.ch>
------------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP                   Phone:   +41 61 826 93 00
			     Kabelinternet-Hotline:   +41 61 826 93 07
Zurlindenstrasse 29                            Fax:   +41 61 826 93 01
CH-4133 Pratteln                               Net:   http://www.imp.ch/
------------------------------------------------------------------------