Installation steps:


1  - Install ggrep (GNU e?grep)

     GNU grep is the only grep I could find that supports all the options and
     regular expression formats I wanted to use.  Besides, it's the best grep
     around and you should have it anyway.


2  - Create a new user 'acs', with a unique uid, group id of mail and a home
     directory of where you installed the software:

acs:*:71:6:Anonymous Contact Service:/usr/local/lib/acs:/bin/csh


3  - Make sure all the files in ~acs are owned by acs.


4  - Edit the following files to reflect your site:

	.forward
	Intro-long
	Intro-short
	acs-vars
	reject
	signature
	anonsig


5  - You need to tell sendmail to forward all ACS mail through the ACS
     software.  There are basically two ways you can do this:  have the
     ACS software create a mail alias for each ACS alias it creates or
     add rewrite rules to your sendmail configuration file.  The former
     will be easier, the latter will run much faster.

5a - If you DON'T want the ACS software to use sendmail aliases and you
     DO want to use rewrite rules, make the following changes to your
     sendmail configuration file and skip to item 5:

Create a new mailer called "acs" with a line like this:

Macs,   P=/usr/local/lib/acs/anon-reply, F=nlF, S=11, R=12, A=anon-reply $u

You may need to change the S= and R= parts to match those in the 'Mlocal'
line (just search for the line that begins with "Mlocal").

Then add these lines towards the end of ruleset zero (after the line that
starts with "S0" and before the line that says something like "remaining
names must be local"):

Rap.$-                  $#acs:ap.$1


5b - If you DO want the ACS software to use sendmail aliases and you DON'T
     want to use rewrite rules, edit give-alias and uncomment line 34.


6  - If you completed item 5b, and you want the ACS software to rebuild the
     DBM version of the sendmail alias database every time it creates a new ACS
     alias, also uncomment line 38 in give-alias.  Note:  if your sendmail does
     not have option D defined (rebuild aliases automatically if changed), you
     must uncomment this line.


7  - Add the following lines to your sendmail aliases file:

## Aliases for the ACS software
ap.admin:       <your e-mail address>
ap.ping:        "|/usr/local/lib/acs/anon-ping"
ap.post:        "|/usr/local/lib/acs/anon-post"


8  - Add the appropriate lines to your crontab file:

20 20 15 *  *   /usr/lib/news/inews -h < /usr/local/lib/acs/Intro-long
40 20  * *  6   /usr/lib/news/inews -h < /usr/local/lib/acs/Intro-short
0,15,30,45  *  *  *  *  /usr/local/lib/acs/unspool

     The first line posts the long form of the introduction to alt.personals
     once a month.  The second line posts the short form to alt.personals once
     a week.  The last line processes the spool directories every 15 minutes.


9  - The software can count the number of pings, posts and replies it
     processes.

9a - If you want the software to count how many pings, posts and replies
     it processes, add lines to crontab to rotate the files in ~acs/stats.

9b - If you DON'T want the software to count how many pings, posts and
     replies it processes, edit unspool and remove or comment the lines that
     do 'echo something >> stats/file'.


10 - If your cron mails you the stdout and stderr from commands run
     by cron, change crontab to run 'unspoool >& /dev/null'.  There's too
     many echo commands to get rid of them.  This also allows you to run
     unspool by hand and see what it's doing.


11 - Send the long form of the introduction to the users/newsgroups you
     will be servicing.

--
Andy Rosen (ajr@hri.com)  |  "The most valuable commodity I know of,
Horizon Research, Inc.    |   is information."   -Gordon Gekko, "Wall Street"
1432 Main St.             |  "I got this guitar and I learned how to
Waltham, MA 02154         |   make it talk."   -"Thunder Road"
