milter-greylist is a stand-alone milter written in C that implements
the greylist filtering method, as proposed by Evan Harris.

Setup instructions:
http://www.howtogeek.com/50948/how-to-setup-milter-greylist-spam-blocking-in-sendmail/