Reference site for the milter (mail filter) protocol — the standard interface for writing mail filters that plug directly into Sendmail and Postfix.
Whether you are implementing a new milter from scratch or looking for an existing one, this site documents the wire protocol, the callback sequence, and the known implementations.