On FreeBSD, spamd is a port, mail/spamd/
Needs a fdescfs(5) mounted on /dev/fd/ (see the package message)
On NetBSD, spamd is available through pkgsrc, mail/spamd/