45.4. Creating and Editing Actions

As the introduction to this chapter explains, the Procmail configuration file consists of a series of actions. When email arrives, each is checked in order until one matches and its delivery mode is carried out. If no actions match (or none exist), the email is delivered to the default destination which is usually the user's mail file under /var/spool/mail.

To create a new action, follow these steps:

1.
Click on the Add a new filter action link below the list of existing actions on the module's main page. The form shown in Figure 45.2 will be displayed for entering its destination and conditions.
Figure 45.2. The Procmail action creation form.
2.
Select the type of destination for messages that match this action ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.