User Tools

Site Tools


procmail

This is an old revision of the document!


Mail filtering using procmail

Procmail is the tool run by the mail server to deliver mail to your mailbox, or to several mailboxes of your choosing. It can be used to filter mail using all kinds of criteria (sender, subject, spam score, basically anything that is in the headers of the mail).

To get started, create a file called .procmailrc in your home directory, or install our procmailrc template using SfinxInstall .procmailrc. The template comes with the most common settings, documented in comments. Also included are some other useful settings that you may want, which are commented out and can be enabled by removing the # at the beginning of these lines.

See also:

  • man pages for procmail, procmailrc and procmailex (examples)
  • Our procmailrc template (note: version in the wiki may be outdated compared by the actuial version installed by SfinxInstall .procmailrc !)
procmail.1462868069.txt.gz · Last modified: 2016/05/10 08:14 by jansen