PMDF User's Guide
OpenVMS Edition


Previous Contents Index


PURGE/LIST

Remove comment lines from a mailing list file.

Syntax

PURGE/LIST list-name


Parameters

list-name

Required parameter specifying the name of the list from which comment lines are to be removed. Wildcards are not allowed.

Description

Mailing list files can contain comment lines. In particular, unsubscribed addresses are normally indicated via comment lines in the file. The PURGE/LIST command causes such comment lines to be removed, which can be useful to "clean up" the mailing list file for a list which has undergone a great many changes in membership.


Examples

The commands,


PURGE/LIST fads-list 
SEND/LIST fads-list 
causes the fads-list mailing list membership file to have comment lines removed from the file, and then a copy of the file is requested.


Error messages


%MAILSERV-W-CANTDELETE, cannot delete old mailing list file 
      

An error occurred while trying to delete the old mailing list file. Try again later; the postmaster in charge of the mail server has been notified.


%MAILSERV-W-CANTUPDATE, cannot update mailing list file 
      

An error occurred while trying to update the mailing list file. Try again later; the postmaster in charge of the mail server has been notified.


%MAILSERV-W-FLK, file currently locked by another user 
      

The specified mailing list file is not currently accessible. Try again later.


%MAILSERV-W-INSFPRM, missing command parameters 
      

You failed to specify the list-name parameter. Resend the command specifying a legal value for the list-name parameter.


%MAILSERV-W-LNF, mailing list not found 
      

The mailing list you specified does not exist. Resend the command specifying the name of a valid mailing list. You can use the DIRECTORY/LIST command to obtain a listing of the valid mailing list names.


%MAILSERV-W-LSTCREERR, unable to create new mailing list 
      

The mailing list specified by the list-name parameter does not exist and could not be created. Check to make sure that you specified the correct list name.


%MAILSERV-F-NOMAILLIST, Mailing lists are not enabled 
      

The mail server is not configured to operate as a list server.


%MAILSERV-W-PRV, insufficient privilege or file protection violation 
      

You are not allowed to purge this mailing list. The MAILSERV_ACCESS mapping can be used to change the default behavior of the MAILSERV PURGE/LIST command. Please refer to the Mail and list server section of the PMDF System Manager's Guide.


Previous Next Contents Index