The V Configuration Command

The V configuration command was added to V8 sendmail to prevent old versions of configuration files from breaking when used with V8 sendmail. The syntax for the V configuration command looks like this:

Vlevel <-V8.1 and above Vlevel/vendor <-V8.6 and above

Here, level is a positive integer, and /vendor is a string. We will cover the vendor part soon.

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 program 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 may become more pronounced. Currently, the version levels are as follows:

The vendor

Beginning with V8.6 sendmail, the level for the version command can be followed by the identity of the vendor. The form of that declaration looks like this:

Vlevel/vendor <-V8.6 and above

The / must immediately follow the level with no intervening space. There may be arbitrary space between the / and the vendor. The string that is the vendor specification may either be one of the following:

If any other string appears in the vendor part, sendmail will print the following error and ignore that vendor declaration:

invalid V line vendor code: bad vendor name here

Note that vendors other than those shown may have customized their sendmail too, so this may not be a complete list. [3]

[3] Vendors that enhance their sendmail are strongly encouraged to use a new vendor code.