The version Command

To prevent older versions of sendmail from breaking when reading new-style sendmail.cf files, a V (for version) command was introduced beginning with V.1. The form for the version command looks like this:

V10/Berkeley

The V must begin the line. The version number that follows must be 10 to enable all the new features of V.14 sendmail.cf. The number 10 indicates that the syntax of the sendmail.cf file has undergone 10 major changes over the years, the tenth being the current and most recent. The meaning of each version is detailed in The V Configuration Command on page 580.

The Berkeley tells sendmail that this is the pure open source version. Other vendor names can appear here too. Sun, for example, would be listed on Sun Solaris platforms and would cause the Sun Microsystems version of sendmail to recognize the Sun configuration file extensions.

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.