IT lexicon › Infra & Ops › procmail

procmail

Infra & Ops På svenska → Updated: 2026-10-06
More info
Creator
Stephen R. van den Berg
Released
1990
Type
Mail filter

The Unix program that sorted incoming mail with regular expressions, in a configuration language nobody quite managed to memorise.

Stephen R. van den Berg released procmail in 1990. It was invoked from .forward and read rules — recipes — from .procmailrc. Each recipe began with :0, followed by conditions written as regular expressions against the headers and an action: file it in a folder, forward it, or pipe it through another program. You could sort mailing lists into their own folders, bin obvious junk and run mail through spam filters long before mail clients could do any of that. Its companion formail rewrote headers and split mbox files.

The syntax was compact to the edge of legibility, and most users copied recipes from someone else. The last release, 3.22, came out in 2001, and the program lingered in production for years without a maintainer — which led to security holes with nobody left to fix them.

← Back to the lexicon