Use this command to add, delete, and modify NNTP sites. The following table is a list of the parameters you can use with Rserver.
Parameter | Description |
-t operation, where operation is one of the following arguments: |
|
g | Gets the server configuration. (Use with -s, -v.) |
s | Sets the server configuration. (Use with -s, -v.) |
c | Creates a new NNTP site. (Use with -s, -v.) |
d | Deletes an NNTP site. (Use with -s, -v.) |
-s server | The name of the server computer to be configured. |
-v virtual server id | The site ID (an integer). |
-o port id | The TCP/IP port (an integer). |
-l soft post limit | Refuses any article larger than the limit (in kilobytes), but keeps the connection active. The default is 64K. |
-h hard post limit | Terminates the connection when an article that is larger than the limit (in megabytes) is received. The default is 1 MB. |
-I soft feed limit | Refuses any article larger than the limit (in kilobytes), but keeps the connection active. The default is 128K. |
-j hard feed limit | Terminates the connection when a feed that is larger than the limit (in megabytes) is received. The default is 100MB. |
-m SMTP address | The address for moderated newsgroup postings (It can be a fully qualified domain name (FQDN), a machine 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 is True. |
-f true | false | Indicates whether feed posts are allowed. The default is True. |
-x true | false | Indicates whether control messages are processed. The default is True. |
-n pathname | The full path of Microsoft NNTP Service files. |
-a mail address | The administrator's 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 command is allowed. |
-r true | false | Indicates whether client Message IDs are honored by the server. |
The following examples show how command scripts are used. When Windows Scripting Host is running, you can enter any of the command scripts shown here on the command line.
Command script | Function |
Rserver.vbs -t g -v 1 |
Gets the properties for NNTP site 1. |
Rserver.vbs -t s -v 1 -c true-l 100000 |
Sets NNTP site 1 to allow client posts, with a soft post limit of 100 kilobytes and an administrator at administrator@mydomain.com. |
Rserver.vbs -t d -v 3 |
Deletes NNTP site 3. |