I've been installing qmail (netqmail-1.05) on fedora core 5. Their were quite a few things that I should have written down but I didn't.
If you are trying to compile with smtp-auth, you will find cmd5checkpw doesn't compile. You have to modify the Makefile and add "-lcrypt" to the LDFLAGS variable. It seems they moved crypt from libc to libcrypt.