Wikipedia
Procmail
In email systems, procmail, a mail delivery agent (MDA), can sort incoming mail into various directories and filter out spam messages. Procmail is stable, but no longer maintained. Users who wish to use a maintained program are advised by procmail's author, Philip Guenther, to use an alternative tool.