Table of Contents Previous Next Index

Section 26 Special Functionality for ISP’s

Section 26 Special Functionality for ISP’s
These functions require that your site is appropriately licensed for them. Specifically, your LAK must contain the ISP "Scope" option. Contact the L-Soft sales department for details.
Currently the ISP functionality is under development and does not include a complete suite of tools that an ISP might find useful. If you have suggestions for useful tools (other than accounting tools which are in development), please feel free to write to SUPPORT@LSOFT.COM with your comments, which will be turned over to the developers.
26.1 Directory Quotas for Individual Lists
Currently there is no warning message when a list hits a preset percentage of its storage quota, so this function should be used with care.
26.1.1 The QUOTA.FILE
LISTSERV uses a file called quota.file to store quota information for individual lists. The quota.file must be installed in LISTSERV's "A" directory (the same directory where LISTSERV keeps list files and its other standard data files). The file is a flat text file with the information for each list kept on one line, as follow:
(1) (2) (3)
Notes: The directory where the notebook archives and any other user-maintained files belonging to the list are kept. This specification should be the same as the specification in the "Notebook=" keyword (for lists with notebook archives) or the same as the specification for the file archives directory for the list in site.catalog (for lists without notebook archives).

The size (in kilobytes) of the list's quota. Note that 1024 kilobytes = 1 megabyte, so multiply the desired number of megabytes by 1024 to set this value.

The person who should be notified when the list goes over quota; in this case, the access-level "Owner" means that the list owner is notified. This value can also be a regular internet-address.
26.1.2 Displaying Quota Information
To display current quota information, issue the command
LISTSERV will respond with a listing of the lists for which quotas are set, along with the quota setting and percentage of quota used. A typical SHOW QUOTA report is reproduced below, for lists called ALIST, BLIST, and so forth:
Figure 26-1 Typical Output of a SHOW QUOTA Command Issued by a Privileged User
Date: Mon, 17 Jun 1996 17:09:38 -0400
From: "L-Soft list server at HOME.EASE.LSOFT.COM (1.8d)"
Subject: Output of your job "NATHAN"
To: Nathan Brindle <NATHAN@EXAMPLE.COM>
> show quota
Directory Quota Usage
--------- ----- -----
E:\FTP\LISTS\ALIST 4M 0k ( 0.0%)
E:\FTP\LISTS\BLIST 4M 4k ( 0.0%)
E:\FTP\LISTS\CLIST 4M 323k ( 7.8%)
E:\FTP\LISTS\DLIST 1M 11k ( 1.0%)
E:\LISTS\ELIST 4M 11k ( 0.2%)
E:\LISTS\FLIST 4M 940k (22.9%)
E:\LISTS\GLIST 50M 9.8M (19.5%)
E:\LISTS\HLIST 4M 66k ( 1.6%)
Your list owners (or the person(s) indicated by the third parameter in quota.file for the list) can also issue the SHOW QUOTA command, but they will receive quota information only for the list(s) for which they appear in that third parameter.
26.1.3 Reloading Quota Information After Making Changes
Whenever you change values or add or delete lists from quota.file, you must issue the command
to reload the quota file. (Rebooting LISTSERV also reloads the information.)
26.2 Limiting the Number of Subscribers to a List
Using the special Limits= keyword, you can limit a list to a specified number of subscribers. Only a LISTSERV maintainer may raise, lower, or disable this limit. An attempt by a list owner to change or disable the limit will result in an error message being returned to the invoker and no change being made to the list header.
To enable the subscriber limit in the list header, code
* Limits= Sub(nnn)
where nnn is the number of subscribers you want to limit the list to. For instance, a list coded Limits= Sub(200) would be limited to 200 subscribers.

L-Soft international, Inc.