spf-discuss
[Top] [All Lists]

Re: Undefined symbols SPF_<blah> in libspf2-1.2.0

2005-02-04 08:06:01
Sorry but the libspf query tool does not work as well as advertised. See the following incosistent results:

[radu(_at_)sun radu]$ spfqtool -i 192.168.0.1 -s anything(_at_)aol(_dot_)com
You didn't give me a helo host, using (nobody)
SPF short result:   neutral
SPF verbose result: policy result: (neutral) from rule (?all)
->>> RFC2822 header: neutral (nobody: domain of anything(_at_)aol(_dot_)com is neutral about
 designating 192.168.0.1 as permitted sender)

[radu(_at_)sun radu]$ spfqtool -i 192.168.0.1 -s anything(_at_)aol(_dot_)com
You didn't give me a helo host, using (nobody)
SPF short result:   pass
SPF verbose result: policy result: (pass) from rule (v=spf1)
->>> RFC2822 header: pass (nobody: domain of anything(_at_)aol(_dot_)com designates 192.168.0.1 as permitted sender) receiver=nobody; client_ip=192.168.0.1; envelope-from=anything(_at_)aol(_dot_)com;
[radu(_at_)sun radu]$

Greetings,
Radu Hociung



James Couzens wrote:
On Tue, 2005-02-01 at 18:40 -0800, ecsd(_at_)transbay(_dot_)net wrote:


compilation of spfquery.c fails because SPF_id_t and SPF_dns_config_t are 
undefined -
but they are not defined ANYWHERE.

At the top of the unpacked directory do

find . -type f | xargs grep SPF_id_t

for example, and you see references to the symbol but nothing that defines the 
symbol.
Can someone please supply the missing header file, or definitions?


You can try the 'spfquery' tool that comes with libSPF
(http://libSPF.org) which I renamed to 'spfqtool' to avoid any
confusion.  It compiles fine and works great too.  Compile with the
debugging options and use the debug flag for scads of helpful output.

There is also the SPF Validator which is great for CGI's and other
related things available @ http://spfval.codeshare.ca

Cheers,

James