Special domains handling
------------------------

Copyright (c) 1999
	Vadim Vygonets <vadik@vygo.net>.  All rights reserved.

To add a special domain:

1. Edit /var/exim/configure and add the domain to local_domains.

2. Edit /var/exim/domains/list and add the lines specifying the domain there,
   as in:
	special.dom:	special
	*.special.dom:	special

3. Create /var/exim/domains/special.aliases.raw, specifying the aliases,
   as in:
	postmaster:	admin
	user:		user@remote.site

4. Create /var/exim/domains/special.rewrite.raw.  If some of the users at
   the special domain want to forward their mail to a host that accepts
   e-mail addresses such as user-suffix@remote.dom, add these users to this
   file, as in:
	foo:		bar@baz.dom
   Rationale:
	This could be handled by the exim filter, but some people don't have
	a shell account on the host machine.

5. If any people with the shell accounts want to forward mail to their e-mail
   address in the special domain (and possibly, to another host from there),
   keeping the suffixes intact, they should create the .forward files in their
   home directories, that will look like this:
	# Exim filter
	deliver user$local_part_suffix@special.dom

6. Another way to achieve this goal is to add the person into the rwdb.raw
   database, which will cause all addresses (all headers and all envelope
   addresses) qualified to the mail local domain (the hostname) to be
   rewritten to this address.  An entry in rwdb.raw should look like this:
	foo:	foo@bar.dom

7. Edit /var/exim/domains/Makefile and add special.aliases.raw and
   special.rewrite.raw to the SRCS line.

8. Run pmake in /var/exim/domains/

9. Send SIGHUP to exim.

Vadik 1999-05-29.
