Sorting and filing mail with procmail

Let's see…two messages from the boss…17 messages from the string collector's discussion group…oh, hey, a message from mom…and….

One of the handiest things you can do to make your UNIX life easier is to use proc mail (a mail filtering program) to automatically sort and file your incoming mail. Gone are the days of having 427 new e-mail messages clogging up your inbox. You can set your account to sort messages into separate folders, making it much easier to sift through your messages. Plus, you can automatically toss messages from people you don't want to hear from. Hmmm. Now this has potential!

In this section, we'll show you how to filter incoming messages using the pine e-mail program. If you're using

Get Unix: Visual QuickStart Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.