On Mon, Jul 26, 1999 at 04:54:59PM -0300, Nelson Ferreira Jr. (listas) wrote:
> (sorry about sending the message twice)
>
> I want qmail working with several domains, in the following way:
> If there's a incoming message to [EMAIL PROTECTED] it will be
> delivered to user, whatever the host could be. (assuming there is an
> account user in my system)
> But I also want to set up aliases for those hosts.
> In other words, I want qmail looking for an alias (.qmail-host-user)
> first, and if it can't find one, try to deliver the message as local.
> The problem is that I cannot get both things working together. Either
> I set up a domain as "local" or as "virtualhost". My first aproach to
> solve this is to configure all my domains as "virtualhost" and set up a
> alias .qmail-host-user for every user in my system, but I think there's a
> easier way to do this.
Set the domain up as a virtual domain.
In control/virtualdomains:
example.com:someuser-example
In ~someuser/.qmail-example-default:
| forward ${DEFAULT}
Chris