Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Procmail: Filter and Split Incoming Email

The procmail package provides a powerful mechanism for filtering incoming email, to split email that meet certain criteria into separate folders, and to forward different emails on to other users.

The procmail application will be invoked on any email that arrives for you by adding the following to your .forward file:


Note that there is potential for procmail to be invoked in rapid succession, and thus if two procmails try to write to the one file there could be a problem. Thus procmail uses lock files to ensure this does not happen. A lock file will slow procmail down ever so slightly, so it is kept as an option specified in the configuration file (.procmailrc) rather than a default.

At the heart of procmail is the .procmailrc file. This contains all the rules that are applied to an email to determine what should happen to that email.


Copyright © 1995-2006 [email protected]

  Published under the terms fo the GNU General Public License Design by Interspire