|
GNU/Linux Desktop Survival Guide by Graham Williams |
|
|||
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:
|/usr/bin/procmail |
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.