Filewatcher File Search File Search
Content Search
» » » » »


the ANSI C SPF reference library (runtime library)

libSPF is an ANSI C implementation of the SPF ("Sender Policy Framework"). libSPF's focus is to be as small and as portable as possible and to provide a working example of how SPF would ideally be implemented for authors of MTA's and implementors of RFC's 2821 and 2822. libSPF currently only implements explicitly what is set out in the SPF Internet Draft as it was sent off to the I-D archive (see the BLURB file in the package for more information).

Technical tidbits about the underlying implementation are that libSPF employs an "on the fly" parse method where records are evaluated in a byte by byte manner allowing the parser to return results at the first sign of success or failure for much of the SPF Query language. This parsing method affords a speed advantage over all other implementations which perform an unnecessary validation of the entire query before moving on to data evaluation. Great care has been taken to use unsigned integers whenever possible, and to employ only safe string handling functions (eg: snprintf over sprintf). Further care has been spent allocating memory only to the very byte that is necessary and employing dynamic allocation where appropriate. Several memory leak detection implementations most notably Valgrind have been employed since the beginning to ensure that memory is not leaked, and every single byte of allocated memory is explicitly freed irregardless of the natural cleanup of a modern kernel. This attention to detail has led to an efficient and secure library with which it is hoped will lend confidence to those who intend to implement it.

This package provides the runtime library for libspf.

Package version:0.999-1.0.0-p3.dfsg-3


libspf for Debian

The full documentation for libspf has been split into a separate package,

Also, libspf comes with spfqtool, a tool to query the policy. It lives in the
spfqtool package.


 -- martin f. krafft <>  Thu, 29 Jul 2004 11:56:48 +0200


libspf (0.999-1.0.0-p3.dfsg-3) unstable; urgency=low

  * QA upload.
  * Bump Standards-Version to 3.8.2.
  * Add Build-Depends on autotools-dev and additionally replace config.{sub,guess}
    in build_tools/ to fix FTBFS on avr32. (Closes: #536263)
  * Add ${misc:Depends} to all binary packages.

 -- Chris Lamb <>  Sun, 02 Aug 2009 18:34:08 +0100

libspf (0.999-1.0.0-p3.dfsg-2) un


This package was debianized by martin f. krafft <> on
Fri, 23 Jul 2004 18:03:33 +0200.

It was downloaded from

Tarball repacked to remove non-free IETF internet draft by Scott Kitterman

Process to repack the tarball:

1.  Unpack the tarball.
2.  rm -rf docs/RFC
3.  Reroll the tarball.

Upstream Author: James Couzens <>


Browse inside libspf0_0.999-1.0.0-p3.dfsg-3_amd64.deb

         [DIR]DEBIAN/ (5)  65535+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download libspf0_0.999-1.0.0-p3.dfsg-3_amd64.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017