How about if I have 500 local mailbox ? Do I need to create .qmail-domain-users file 
for each one of them ?
And route the rest to other machine .

Any better solution and how ?

>
>From: Charles Cazabon <[EMAIL PROTECTED]>
>Date: Mon, 28 May 2001 11:29:45 -0600
>To: [EMAIL PROTECTED]
>Subject: Re: Forwarding some mail recipients to other machine.
>
>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