>>      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.

Do you have an idea ?

David ROBERT.

Reply via email to