Virtual domains handling
========================

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

*** NOTE ***   The handling of domains has changed.  Now there is only
*** NOTE ***   one file, and entries ending with a '+' replace those
*** NOTE ***   that used to be in the *.rewrite.raw files.

To add a virtual domain:

1. Edit /var/exim/domains/list and add the lines specifying the domain,
   such as:
	virtual.dom:	virtual
	*.virtual.dom:	virtual

2. Create /var/exim/domains/virtual.raw, specifying the aliases:
	admin:		admin@remote.domain
	user+:		the@users.address
	luser+:		user
	another-:	some@other.address
   Aliases ending with a hyphen or a plus sign are allowed to have suffixes,
   the difference between them being that those with a plus preserve their
   suffixes on redirection.  Note that if you have two identical aliases,
   except one is ending with a hyphen and the other is not (such as 'foo'
   and 'foo-'), the one without the hyphen takes precedence when the local
   part has no suffix.  Additionally, aliases such as 'foo-bar' can be
   added, also taking precedence over 'foo-'.

3. Run make (or pmake on non-BSD systems) in /var/exim/domains.

Vadik 2002-01-11.
