On Tue, 27 Jul 1999, David ROBERT wrote:
> >> 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}
>
> I need the same thing but inversed :
>
> I want all the mail sent to example.com to be delivered
> via smtp :
> smtproutes
> -----------
> example.com:mail.example.com
>
> But I want qmail to look for alias .qmail-example-david to
> post it localy. If it exist.
Setup everything as above.
In ~someuser/.qmail-example-default:
| forward ${DEFAULT}@mail.example.com
No need for entry in smtproutes. If it is in your dns.
/magnus
--
"MOST USELESS site of the year 1998"
--> http://x42.com/urlcalc/