37.13. Creating Filter Aliases

Sendmail aliases normally forward email messages to their destinations regardless of their content. It is possible, however, to use this Webmin module to create an alias that forwards to different addresses or files depending on the headers or body of a message sent to it. When you create an alias like this, the module internally creates a script that passes the contents of email to the alias as input, just like a command specified using the Feed to program alias type.

A filter consists of a series of rules, each of which has a condition and action. The condition specifies both a header and text to check if it is contained in that header, while the action specifies an address to which to forward or a file to which ...

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.