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.
OQ/var/spool/mqueue single-character name (prior to V8.7)
Prior to V8.7
, option names could only be a single character.
The short (single character) name of the option
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