-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I was wondering how the following would work. 
> 
> I have a few domains which o am going to run as virtualdomain and others
> which are just going to have a smtproute to another server. I want to have
> some Virtual users deliver to another machine and the remainder of the
> users deliver to yet another server. 
> 
> ie. 
> 
> postmaster@domain deliver to server1
> root@domain deliver to server1
> owner@domain deliver to server1
> 
> anything else that is for that domain deliver to server2
> 
> can this be done ? 

I would do that without virtual domains at all.

1. Put domain into locals.
(2. If you have local users, make sure that you use users/assign 
mechanism to override them. Routing everything to alias is just 
fine.)
3. Arrange local delivery for postmaster, owner, root (for example 
by ~alias/.qmail-root etc.)
4. In ~alias/.qmail-default, do
|forward "$LOCAL"@server2
(5. You may need to arrange delivery to server2 via smtproutes.)

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBN5NAe1MwP8g7qbw/EQISigCfX0G3R9HQkSFd3hTflQd1uDBbBeEAn0Ef
5kw+qAMJNZpnEKsoczOPrEpO
=EHIX
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]

Reply via email to