13. Setting Options
The client.cf file is now roughed out enough that it can almost be used to send mail. All that remains are two important loose ends: options, which we cover in this chapter, and headers, which we cover in the next. Options determine much of the behavior of sendmail . For example, they can specify the location of the queue directory, set the default permissions for files, and list the characters that separate tokens in an address. These and other options will be discussed in this chapter. 13.1 Options: An Overview
Options are declared in the configuration file by beginning a line
with the letter
OQ/var/spool/mqueue single-character name (prior to V8.7)
Prior to V8.7
sendmail
, option names could only be a single character.
The short (single character) name of the option
(here Beginning with V8.7 sendmail , option names may consist of multiple characters:
O QueueDirectory=/var/spool/mqueue multicharacter name (beginning with V8.7) exactly one space
To use multicharacter names, you must separate the name (here
Some options have both a single-character name and a multicharacter name, in which case the two names are equivalent:
OQ/var/spool/mqueue define location of queue directory O QueueDirectory=/var/spool/mqueue the same Other options (the newer ones) only have multicharacter names:
O ServiceSwitchFile=/etc/service.switch only multicharacter form available
When we mention such options in the text, we will specify the multicharacter name first,
followed by the single-character name in parentheses if there is one; for example, the
The values for
some options are strings (such as |
|