Scenario 1: Convert an existing mailbox on the current host into a set
of web pages, also on the current host.
All the following tasks are performed on a UNIX or Linux system through
an xterm and an appropriate shell program. It is assumed that the user
already has a working knowledge of UNIX, including how to run commands,
manipulate files and directories, and use FTP through a command line
interface.
1. Locate the directory in which the mailbox files are located and
choose which mailbox file will be converted into web pages. (This will
probably require use of the "ls" and "cd" commands.)
2. Create a directory to hold the web pages (using the "mkdir" command).
3. Change directory to that directory (using the "cd" command).
4. Enter the command:
hypermail -p -m <path to the mailbox file> -d . -l "<appropriate label>"
This will cause the hypermail program to create the web pages in the
current directory with an appropriate label.
Scenario 2: Transfer a mailbox on a different host to the current host
and convert it into a set of web pages and tranfer them to a directory
on the different host.
1. Change directory to the directory where the web pages are to be
created. (This may require the use of the "mkdir" and "cd" commands.)
2. Create an FTP session to the host containing the file to be turned
into web pages. This will require knowing the host name of the remote
system and having a user name and password valid on that system.
3. Change directory on the FTP host to the directory where the file to
be transferred is located. (This may require the "cd" and "ls" commands
in order to find the file.)
4. Issue a "get <filename>" command to retrieve the file.
5. Issue a "bye" command to exit FTP.
6. Enter the command:
hypermail -p -m <filename> -d . -l "<appropriate label>"
This will cause the hypermail program to create the web pages in the
current directory with an appropriate label.
7. Create an FTP session to the host that is supposed to contain the
web pages. This will require knowing the host name of the remote
system and having a user name and password valid on that system.
8. Change directory on the FTP host to the directory where the web pages
are to be located. (This may require the "cd" and "ls" commands in
order to find the file.)
9. Issue a "prompt" command to turn off prompting for the file names.
10. Issue a "mput *.html" commmand to send all of the web pages.
11. Issue a "bye" command to exit FTP.
The pages should now be available on the host to which they were
transferred.