NorthernJourney.com: Linux for Newbies, pt. 24, Filtering mail with procmail | Linux Today

NorthernJourney.com: Linux for Newbies, pt. 24, Filtering mail with procmail

Written By
Web Webster
Web Webster
Jun 17, 2001

[ Thanks to Gene
Wilburn
for this link. ]

First, congratulations to Gene Wilburn for two years of his
“Linux for Newbies” column. This month’s installment centers on
procmail, a traditional Unix mail-sorting tool that offers a lot of
power and flexibility in terms of contextually appropriate mail
clients. This tutorial explains getting mail down to a system with
fetchmail, and enough procmail to handle basic sorting and some
specialized actions, like storing messages in dated folders.

“Filtering allows us to set up rules or recipes that
send mailing list postings to special folders, put high-priority
correspondents into a “readmefirst” folder, and perhaps route all
other mail into a “readlater” folder that can be scanned
occasionally for anything important. Doing even this much can
considerably reduce the amount of time it takes to manually process
mail.

Proprietary email readers frequently offer built-in filtering
rules–Eudora Pro for Windows and Macintosh has nice ones and even
Pine has some filtering capabilities. These work well enough within
a simple context, but if you switch operating systems regularly,
work from different computers, or need advanced filtering, a
proprietary solution may fall short of your needs.

The most effective method of filtering email is to intercept it
before it is actually delivered and place your filtering rules
there. Linux offers a superb mechanism for doing this–a program
called procmail. Procmail, created by Stephen R. van den Berg, is
the focus of this Newbies session.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.