The V Configuration Command’s Level Part

The level is a positive integer. If level is higher than the maximum allowed for the current version, sendmail prints the following warning and accepts the value:

Warning: .cf version level (lev) exceeds sendmail version ver functionality
(max)

If level is less than 0 or if the V configuration command is omitted, the default level is 0.

The effects of the various version levels are relatively minor. As sendmail continues to develop, they might become more pronounced. Currently, the version levels are as follows:

0

The check for a valid shell in /etc/shells is ignored (The /etc/shells File on page 180).

0 through 1

MX records are looked up with the RES_DEFNAMES and RES_DNSRCH cleared. The high bit is always stripped from the body of every mail message.

2 and above

The sendmail program automatically adds a -a. to the "host host" database map ($[ and $]: A Special Case on page 895) declaration, if that database map isn’t declared in the configuration file. RES_DEFNAMES and RES_DNSRCH are not turned off as they were for older versions. Rule set 5 (The localaddr Rule Set 5 on page 700) behavior is enabled.

0 through 2

Set the UseErrorsTo option (UseErrorsTo on page 1115) to true automatically.

2 and above

Automatically set the $w sendmail macro ($w on page 850) to be the short name instead of the fully qualified local hostname ($j, $j on page 830, still contains the fully qualified name and $m, $m on page 833, the local domain).

3 and above

You can use the V8 ...

Get sendmail, 4th Edition 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.