Managing Linux® Systems with Webmin™ System Administration and Module Development
by Jamie Cameron
37.11. Adding Sendmail Features with M4
The primary Sendmail configuration file sendmail.cf is extremely complex, and almost impossible to edit manually. Fortunately, it is usually built from a series of M4 macro files that are much simpler and can be modified using this module or by manual editing. M4, for those who have not heard of it before, is a program that parses text files and expands macros in them. These macros can include other text files, define variables and functions, or exclude text based on certain conditions. M4 is very similar to the preprocessor used by the C programming language which handles #include and #define statements. Fortunately, this module hides most of the complex details from you.
Often, the default Sendmail configuration ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access