45.3. Setting Up Sendmail

As long as you have the M4 files from which your primary Sendmail configuration file was built, setting up Sendmail to use Procmail is easy. Unfortunately, configuring the mail server by editing sendmail.cf directly is not so easy, and is not covered in this chapter. All modern Linux distributions, however, include the M4 files that you will need, in either the sendmail package or a separate one such as sendmail-cf.

To configure the Sendmail MTA to use Procmail, follow these steps:

1.
Go to the Sendmail Configuration module, which can be found in Webmin under the Servers category.
2.
Click on the Sendmail M4 Configuration icon on its main page. A list of existing M4 directives should appear. If not, the M4 files needed ...

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.