Supporting Messaging Clients

Rserver.vbs

Use this command to add, delete, and modify NNTP virtual servers. The following table lists the parameters you can use with the rserver command.

Parameter Description
-t operation, in which operation is one of the following arguments:
     g Gets the server configuration from the metabase. (Use with -s server, -v virtual server id.)
     s Sets the server configuration. (Use with -s server, -v virtual server id.)
     c Creates a new NNTP virtual server. (Use with -s server, -v virtual server id.)
Note  After creating a new virtual server with Rserver.vbs, to activate the new virtual server you must stop and restart Microsoft NNTP Service.
     d Deletes an NNTP virtual server. (Use with -s server, -v virtual server id.)
-s server The name of the server computer to be configured.
-v virtual server id The NNTP virtual server ID (an integer).
-o port id The TCP/IP port.
-l soft post limit Refuses any article larger than the size limit, in kilobytes (KB), but keeps the connection active. The default is 64 KB.
-h hard post limit Terminates the connection when an article larger than the size limit, in megabytes (MB), is received. The default is 1 MB.
-m SMTP address The address for moderated newsgroup postings. The address can be a fully qualified domain name (FQDN), a computer name, or an IP address.
-u uucpname The unique ID placed in the path header. The default is the hostname of the server.
-d domain name The domain name for default moderators.
-c true | false Indicates whether client posts are allowed. The default value is TRUE.
-x true | false Indicates whether control messages are processed. The default value is TRUE.
-n pathname The full path of Microsoft NNTP Service files.
-a mail address The administrator's e-mail account.
-p directory path The full path of the Pickup directory.
-q directory path The full path of the Failed Pickup directory.
-b true | false Indicates whether the newnews.vbs command is allowed.
-r true | false Indicates whether the server accepts client message IDs.

The following examples show how command scripts are used. When Windows Script Host is running, you can type any of the command scripts shown here on the command line.

Command script Function
Rserver.vbs -t g -v 1
Gets the properties for an NNTP virtual server from the metabase. In this example, the virtual server is named 1.
Rserver.vbs -t s -v 1 -c true -l 100000   
	 -a administrator@nwtraders.com
Sets an NNTP virtual server, in this example a virtual server named 1, to allow client posts, with a soft post limit of 100 KB and an administrator at administrator@nwtraders.microsoft.com.
Rserver.vbs -t d -v 3
Deletes an NNTP virtual server. In this example, the virtual server is named 3.