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-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-3) unstable; urgency=low

  * Fixed debian/rules file syntax (closes: #353857)
  * Updated to Debian Policy v3.6.2.2; Updated description.

 -- Mattias Nordstrom <>  Tue, 21 Feb 2006 20:00:41 +0000

libspf (0.999-1.0.0-p3-2) unstable; urgency=low

  * Wrote a manpage for spfqtool.
  * Updated to Debian Policy v.

 -- Mattias Nordstrom <nordstrom


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

It was downloaded from

Upstream Author: James Couzens <>


*  License:
*  The libspf Software License, Version 1.0
*  Copyright (c) 2004 James Couzens & Sean Comeau  All rights reserved. 
*  Redistribution and  use  in source and  binar

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

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

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

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