VERSION

The VERSION command is used to query the version of the specified server.

Server Version Query
Usage: VERSION [<server>]
<server> (Optional) The server to query for its version. If omitted, the local server's version is returned.

This command returns the version of the specified server. If no server is specified, the local server's version is returned.

(See section 4.3.1 of RFC 1459, 3.4.3 of RFC 2812)