!! THIS HOWTO IS DEPRECATED SINCE AUTOCONF.  SOMETHING NEW WITH
   NEXT RELEASE !!

!! - this patch includes a patch for the integer overflow
     which is fixed in netqmail 1.05, so just ignore the hunk failure

LIBSPF:
     
unpack libspf
change into that directory
make
cp libspf.so.1.0.0 /usr/lib/libspf.so
cp libspf.so.1.0.0 /path/to/qmail/dir/libspf.so

QMAIL:

unpack netqmail-1.04 (should work fine with 1.05)
change into that directory
patch < Makefile-dynamic-1.03.diff
patch < netqmail-1.04-libspf-0.21.diff

cp /home/james/libspf.21/spf.h ./qmaildir
cp /home/james/libspf.21/spf_head.h ./qmaildir
make setup check

create /var/qmail/control/spfaction
place between 0 and 7 inside of it, read README for more info

Want to write something prettier and more concise, and covering
a static build?  Please do so and submit it to jcouzens@6o4.ca