Next: An Example sendmail.m4 File Up: Sendmail+IDA Previous: Configuration Files - Overview

# The sendmail.cf File

The sendmail.cf file for sendmail+IDA is not edited directly, but is generated from an m4 configuration file provided by the local system administrator. In the following, we will refer to it as sendmail.m4.

This file contains a few definitions and otherwise merely points to the tables where the real work gets done. In general, it is only necessary to specify:

- the pathnames and filenames used on the local system.
- the name(s) the site is known by for e-mail purposes.
- which default mailer (and perhaps smart relay host) is desired.

There are a large variety of parameters that can be defined to establish the behavior of the local site or to override compiled-in configuration items. These configuration options are identified in the file ida/cf/OPTIONS in the source directory.

A sendmail.m4 file for a minimal configuration (UUCP or SMTP with all non-local mail being relayed to a directly connected smart-host) can be as short as 10 or 15 lines excluding comments.

- An Example sendmail.m4 File
- Typically Used sendmail.m4 Parameters
  - Items that Define Paths
  - Defining the Local Mailer
  - Dealing with Bounced Mail
  - Domain Name Service Related Items
  - Defining Names the Local System is Known by
  - UUCP-Related Items
  - Relay Systems and Mailers
  - The Various Configuration Tables
  - The Master Sendmail.mc File
  - So Which Entries are Really Required?