Defining Newsgroup Limits and Expirations

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

You can limit how long articles are kept in an NNTP service newsgroup by defining expiration policies for newsgroups. An expiration policy can apply to a single newsgroup or to any number of newsgroups. You can define as many policies as you need. In each case, the oldest articles are deleted first.

If you do not specify an expiration policy for a newsgroup, you should delete articles manually when they are no longer needed.

Important

You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /User:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

Procedures

To create an expiration policy

  1. In IIS Manager, expand the local computer, and then expand the NNTP virtual server that you want.

  2. Right-click Expiration Policies, point to New, and then click Expiration Policy.

  3. Follow the steps in the New NNTP Expiration Policy Wizard.

You can modify an existing expiration policy, including changing the newsgroups to which the policy applies, with the Expiration Policy dialog box.

To modify an expiration policy

  1. In IIS Manager, expand the local computer, expand the NNTP virtual server that you want, and then click Expiration Policies.

  2. In the details pane, right-click the expiration policy that you want to modify, and then click Properties.

  3. Change the options in the Expiration Policy box as needed.

Note

Use the Move Up and Move Down buttons to specify which newsgroups the expiration policy should apply to and in what order. For example, if you want to include all of the alt.tv newsgroups (alt.tv.) in the policy, but exclude the alt.tv.cable newsgroup from the policy, meaning that you want to apply an expiration policy to all of the alt.tv newsgroups except the alt.tv.cable newsgroup, use the Move Up and Move Down buttons to include alt.tv. first and exclude alt.tv.cable second.