----------------------------------------------------------------------
		   INSTALLING SMC-MILTER (MAIL FILTER)
----------------------------------------------------------------------

Please read through README if you did not already do so.

----------------------------------------------------------------------
			  BASIC INSTALLATION
----------------------------------------------------------------------

The simplest way to compile this package is:

1. Edit in the package's source directory in correspondence with your
   needs the following file(s):

   smc-milter.h			(files locations)
   Makefile			(installation path)

2. Type "make" in the directory containing the package's source code
   to compile the package.

3. Type "make install" to place a program files into the defined
   location.

4. You can remove the program binaries and object files from the source
   code directory by typing "make clean".

5. Configure Filter by editing the smc-milter.conf file.

6. You can specify trusted recipients, which mail must be accepted
   without any checks in smc-milter.users file.

----------------------------------------------------------------------
			 CONFIGURING SENDMAIL
----------------------------------------------------------------------

1. "cd" to the Sendmail's configuration files directory. Usually
   /etc/mail.

2. Add following lines to the sendmail.mc file:

   define(`confMILTER_MACROS_CONNECT', `{client_addr}, {client_name}')dnl
   INPUT_MAIL_FILTER(`SMC-milter', `S=local:/var/run/smc-milter.sock, \
      F=T, T=C:30m;S:10m;R:10m;E:30m')dnl

2. Type "make" in Sendmail's configuration files directory to compile
   the new sendmail.cf

----------------------------------------------------------------------
			 STARTING SMC-MILTER
----------------------------------------------------------------------

1. Type "smc-milter" to run Filter in background or you can type
   "smc-milter -f" to run Filter in foreground.

2. Restart your Sendmail with new configuration.

----------------------------------------------------------------------
For more information, visit the SMC homepage: <http://milter.sf.net>
