If you have a longer list of recipients in the two domains (something like 2k at each 
one), there is another solution beyond the alias?

Thank You
Sebastian Wain


On Mon, 28 May 2001 11:29:45 -0600
Charles Cazabon <[EMAIL PROTECTED]> wrote:

> Sebastian Wain <[EMAIL PROTECTED]> wrote:
> > I wish to receive the email from Internet in a machine (running qmail) and
> > forward it (depending the receiver) to another machine, but leaving some
> > recipients in the first machine.
> > 
> > How can I do it with qmail?  I know that I can forward all the mails to
> > another machine using smtproutes, but I haven't found information about
> > forwarding some recipients only.
> 
> The easiest way to do this is to make the domain in question a virtual domain,
> handled by alias:
> 
>   domain.net:alias-domain
> 
> If you want to handle a small number of accounts in this
> domain locally, you then create a few .qmail files for them, doing something
> like forwarding to a different name, which is a qmail local domain:
> 
>   ~alias/.qmail-domain-joe
> 
>       &[EMAIL PROTECTED]
> 
>   ~alias/.qmail-domain-jill
> 
>       &[EMAIL PROTECTED]
> 
> and handle the rest with a .qmail-default file forwarding to a remote domain:
> 
>   ~alias/.qmail-domain-default
> 
>       |forward "$DEFAULT"@remote.domain.net
> 
> Charles
> -- 
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------

Reply via email to