On Tue, Aug 15, 2000 at 11:48:01AM +1000, Andrew Gray wrote:
> Yes, well that is how I would have set it too, and it would be 
> nice if I hadn't inherited a system with a rather sizable amount 
> of users already installed, is there a way to acheive the 
> same thing using aliases or such?

Yep. Let's say your two domains are domain1.com and domain2.com. domain1.com
will be local and domain2.com will be virtual. In control/virtualdomains you
have:

domain2.com:alias-domain2

Let's say that the user name "bob" exists in both domain1.com and domain2.com,
and that you'd like to deliver the mail to different places. There are no other
conflicting names.

In ~alias/.qmail-domain2-bob you'd have:

&bob2

or wherever you'd like mail addressed to [EMAIL PROTECTED] to go.

In ~alias/.qmail-domain2-default you'd have:

| forward "$DEFAULT"@domain1.com

That'll send all non-bob mail to a regular local user. This way domain2.com is
almost a local domain, with the exception of bob.

Chris

Reply via email to