On Wed, Jun 09, 1999 at 01:54:25PM +0200, Joaquim Homrighausen wrote:
> [qmail 1.03]
>
> I have domain.com and sub.domain.com
>
> Mail for anyone at "@domain.com" should be mapped to "user1"
> Mail for anyone at "@sub.domain.com" should be mapped to "user2"
>
> I've tried putting:
> sub.domain.com
> domain.com
>
> (in that order) into rcpthosts and virtualdomains, but it appears qmail
> doesn't recognize mail sent to sub.domain.com (or rather, it sends it to
> "[EMAIL PROTECTED]", which I've in the ".qmail-default" file in the
> alias/ directory).
>
> What am I doing wrong?
You need to read the documentation. Start with FAQ 3.2. This is a
straightforward virtual domain setup.
Chris