Ref: 17350001
Title: Fixing Limited CMAIL Distribution to Mail Servers
date: 9/28/90

Copyright 3Com Corporation, 1991.  All rights reserved.

CMAIL.EXE is a command-line version of the 3+Mail client-side program.
File size is 78896, dated 7/15/87 at 5:17 PM.  CMAIL is used by developers
who do not want to use the client-side MAIL.EXE interface.  (For more
information on CMAIL, read the 3+Mail/Toolkit, P/N 3C2110.)

Sometimes, when mail is sent using CMAIL.EXE, some users do not receive the
mail.  This is because the maximum number of mail servers (MAX_SERV)
recognized by CMAIL is 5.  If mail is sent to a large group of people, only
those users whose mail server is one of the first five mail servers will
receive the mail.  Mail to the remaining servers will not be sent.  To allow
more servers to be recognized, patch the CMAIL code and increase the
MAX_SERV value.

Caution:  This patch has been tested only with 3+Share 1.3.1 and DOS
3.3.  Although it should work under any version of Share, version 1.3.1
or greater, and DOS 3.1 to 4.01, modify CMAIL.EXE at your own risk.

1.  Type COPY CMAIL.EXE CMAIL.OLD and press Return to preserve a copy of
your original file.

2.  Type RENAME CMAIL.EXE CMAIL.TMP and press Return.  (DEBUG does not
allow files with .EXE extensions to be modified.)

3.  Type DEBUG CMAIL.TMP and press Return.

4.  Type RCS and press Return to identify the current code segment.

5.  Add 1000 to the number after CS and write down the number.  For example,
if the number is CS 1D45, write down 2D45.  (1D45 + 1000 = 2D45)

6.  Press Return to return to the dash prompt.

7.  Type E number:0926 and press Return.  For "number," substite the number
you wrote down in step 5.

You should see:  number:0926  05.

8.  Enter a Hex number at the cursor, specifying the number of destination
servers desired, then press Return.

For all practical purposes, 10 to 20 (Hex 0A to 14) mail servers should be
adequate.

9.  Type W and press Return to write the patched code to disk.

You should see the message:  Writing 13430 bytes.

10.  Type Q and press Return to quit DEBUG.

11.  Type RENAME CMAIL.TMP CMAIL.EXE.

You will now be able to send to the number of mail servers specified by
your change.
