Newbies What Next ? News Forums Calendar


News Sections
General News (3987/0)
Reviews (637/0)
Press Releases (465/0)
Distributions (197/0)
Software (915/0)
Hardware (537/0)
Security (192/0)
Tutorials (356/0)
Off Topic (181/0)

User Functions


Don't have an account yet? Sign up as a New User

There are no upcoming events



Procmail is a mail delivery agent (MDA) or mail filter, a program to process incoming emails on a computer. It is typically invoked from a mail transfer agent (MTA) like Sendmail; this makes the mail processing event-driven. The companion-tool formail allows procmail to be used in batch-processing on mail that already is in your mailbox.

Common operations carried out with procmail include filtering and sorting of emails into different folders according to keywords in from, to, subject, text of the mail, or sending autoreplies, but more sophisticated operations are also possible.

A common practice is to let procmail call an external spam filter program, such as SpamAssassin. This method can allow for spam to be filtered or even deleted.

It can be used to create mail-servers, mailing lists, sort your incoming mail into separate folders/files (real convenient when subscribing to one or more mailing lists or for prioritising your mail), preprocess your mail, start any programs upon mail arrival (e.g. to generate different chimes on your workstation for different types of mail) or selectively forward certain incoming mail automatically to someone.

 Procmail 3.22

Free to download


GNU GPL or Artistic License

Philip A. Guenther and others


System Requirements
Sendmail, ZMailer, smail, MMDF, mailsurr or compatible mailers

Procmail Doumentation Project, Timo's procmail tips and recipes, Mailing Lists

Selected Reviews:

Features include:

  • Small
  • Very easy to install
  • Simple to maintain and configure
  • Event driven (i.e. gets invoked automagically when mail arrives)
  • Does not use any temporary files
  • Uses standard egrep regular expressions
  • Poses a very low impact on your system's resources
  • Allows for very-easy-to-use yes-no decisions on where the mail should go (can take the size of the mail into consideration)
  • Also allows for neural-net-type weighted scoring of mails
  • Filters, delivers and forwards mail reliably
  • Provides a reliable hook for any programs or shell scripts you may wish to start upon mail arrival
  • Absolutely undeliverable mail
  • One of the few mailers to perform reliable mailbox locking across NFS as well
  • Supports five mailfolder standards: single file folders (standard and nonstandard VNIX format), directory folders that contain one file per message, the similar MH directory folders (numbered files), and Maildir directory folders (a multi-directory format that requires no locking)
  • Native support for /var/spool/mail/b/a/bar type mailspools
  • Provides a mail log file, which logs all mail arrival, shows in summary where it came, what it was about, where it went (what folder) and how long (in bytes) it was
  • Uses this log file to display a wide range of diagnostic and error messages (if something went wrong)
  • Does not impose any limits on line lengths, mail length (as long as memory permits), or the use of any character (any 8-bit character, including '\0' is allowed) in the mail
  • Can be used as a local delivery agent with comsat/biff support
  • Secure system mailbox handling
  • Provides for a controlled execution of programs and scripts from the aliases file (i.e. under defined user ids)
  • Allows you to painlessly shift the system mailboxes into the users' home directories
  • Can be used as a general mailfilter for whole groups of messages (e.g. when called from within rules)
  • Can act as an LMTP server for reliable multiple recipient delivery
  • Works with (among others?) sendmail, ZMailer, smail, MMDF, mailsurr, qmail, and Postfix
Return to Email Home Page

Bookmark and Share

Last Updated Saturday, May 23 2015 @ 12:18 PM EDT

We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, Forth, SQL, Node.js (new), Fortran (new), Erlang (new), Pascal (new), and Ada (new).

Group Tests
100 Essential Apps
All Group Tests

Top Free Software
5 Office Suites
3 Lean Desktops
7 Document Processors
4 Distraction Free Tools
9 Project Management
4 Business Solutions
9 Groupware Apps
14 File Managers
10 Databases
21 Backup Tools
21 Productivity Tools
5 Note Taking Apps
9 Terminal Emulators
21 Financial Tools
5 Bitcoin Clients
21 Text Editors
21 Video Emulators
21 Home Emulators
42 Graphics Apps
6 CAD Apps
42 Scientific Apps
10 Web Browsers
42 Email Apps
12 Instant Messaging
10 IRC Clients
7 Twitter Clients
12 News Aggregators
11 VoIP Apps
42 Best Games
9 Steam Games
42 Audio Apps
5 Music Streaming
42 Video Apps
5 YouTube Tools
80 Security Apps
9 System Monitoring
8 Geometry Apps
Free Console Apps
14 Multimedia
4 Audio Grabbers
9 Internet Apps
3 HTTP Clients
5 File Managers
8 Compilers
9 IDEs
9 Debuggers
7 Revision Control Apps
6 Doc Generators
Free Web Software
21 Web CMS
14 Wiki Engines
8 Blog Apps
6 eCommerce Apps
5 Human Resource Apps
10 ERP
10 CRM
6 Data Warehouse Apps
8 Business Intelligence
6 Point-of-Sale

Other Articles
Migrating from Windows
Back up your data
20 Free Linux Books
24 Beginner Books
12 Shell Scripting Books

Older Stories
Saturday 05/16
  • 9 First Steps with Ubuntu 15.04 (0)
  • Excellent Console Log File Analyzers (0)

  • Monday 05/04
  • 100 Essential Free Apps (0)

  • Saturday 04/25
  • What are good command line HTTP clients? (0)

  • Sunday 04/12
  • First Peek at XBian on the Raspberry Pi 2 (0)

  • Saturday 04/04
  • First Look at OSMC RC on the Raspberry Pi 2 (0)

  • Sunday 03/29
  • First Steps with OpenELEC on the Raspberry Pi 2 (0)
  • Ubuntu MATE 15.04 for Raspberry Pi 2 (0)

  • Monday 03/16
  • MIPS Creator CI20 v Raspberry Pi 2 (0)
  • Raspberry Pi 2: Raspbian (ARMv6) v Linaro (ARMv7) (0)

  • Vote

    What Linux distribution do you run on your main computer?

    978 votes | 3 comments

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 - All rights reserved