The sendmail Mail Filter API (Milter) is designed to allow third-party programs access to mail messages as they are being processed in order to filter meta-information and content. WWW: http://www.sendmail.com/sm/open_source/milter/