Description: is a Perl script that facilitates the subscribing/unsubscribing process for a majordomo-based mailing list by providing a form to be used for subscribing and unsubscribing. The user enters his/her e-mail address into a form and selects the desired action (subscribe/unsubscribe). The script does the rest. The user no longer has to concern with majordomo commands. And the list wonít have to put up with unsubscribe commands sent to the list address.

This script is specifically written to be used with the majordomo at, but it can be adapted to work with majordomo at any valid domain.


You have to have access to a web server to run this script. The web server would preferably be running any variant of UNIX, such as Linux or BSD. (NT web servers with Perl interpreter can be used, but youíre on your own!) You must have the capability to execute CGI scripts (check with your ISP to make sure). And you must possess a working knowledge of the UNIX file system, HTML coding, and how to implement a CGI script. uses the module, which was written by Steven E. Brenner. is usually loaded with the standard Perl implementation. However, if itís not available on your server, you can download your own copy of from the Home Page.


  1. Obtain a copy of the script using one of the options below.
  2. Install in your cgi-bin directory. You may have to rename the script to signup.cgi depending on the configuration of your server software. Set the permissions of or signup.cgi to world-readable and executable (0755).
  3. Edit or signup.cgi to reflect your situation. Pay particular attention to the Perl interpreter location (first line) and the path to sendmail specified in $mailprog. If these variables are not set correctly, your script will not work.
  4. Create a link to or signup.cgi on a web page such as <a href="">. When the user selects that link, the form is built automatically.


Get the script file:


Copyright ©1998-1999 Duc M. Do. All rights reserved.
Web posted: 23 March 1998
last updated: 6 February 1999