>I want messages sent to user@domain1 to be forwarded to user@domain2.
>How can I do this?

On domain1, create a ~alias/.qmail-user file containing:

    &user@domain2

Of course, that only makes sense if "domain1" is one of your local
domains. You haven't told us what "domain1" and "domain2" are, or
whether they're local, remote, real or virtual.

>I tried setting up a virtual domain
>domain1:alias-1
>
>and putting
>| forward "$LOCAL"@domain2
>in ~alias/.qmail-1-default
>
>but this causes the message to loop

If that's looping, it's because user@domain2 goes to the same mailbox
as user@domain1. A->B and B->A. The message has no home.

-Dave

Reply via email to