Chainmail Milter is a Sendmail mail filter
(milter), which allows you to manipulate emails
passing through a Sendmail mail server in various
ways. Based on the content of the email header and
bodies, chainmail can add or remove recipients,
reject messages, etc. Chainmail is intended to be
a general purpose mail filter, comparable to the
well-known procmail program in its mail filter
mode.