spf-discuss
[Top] [All Lists]

Re: MS-Caller-ID to SPF converter (cid2spf.pl)

2004-02-25 06:32:51
On 25 Feb 2004 at 7:26, wayne wrote:

I wasn't handy with XML::Parser, but it isn't that difficult, as I
noticed.

Thus proving MS's point that XML is easier to parse than SPF
records....

/me discovers that he doesn't have the perl XML parser, and goes
munging around on cpan

/me discovers that the perl XML parser is maintained by Matt Sergeant,
who recommended against using XML for this kind of thing

/me discovers that the perl XML parser is >200k

Which in turn uses "expat" to do the job of parsing. So you have to add
the expat code to your calculation. :) http://expat.sourceforge.net/

Thus proving one of the reasons why people objected to using XML

Hehe, I think you are absolutely right.

The only thing I noticed is that you used ipv4: instead of ip4:

Already solved, redownload the LMAP::CID2SPF package and install
it, it includes the cid2spf script which uses this new module.

Greets,
Ernesto

-- 
Ernesto Baschny <ernst(_at_)baschny(_dot_)de>
 http://www.baschny.de - PGP: http://www.baschny.de/pgp.txt
 Sao Paulo/Brasil - Stuttgart/Germany
 Ernst(_at_)IRCnet - ICQ# 2955403