Re: Forwarding some mail recipients to other machine.

2001-05-31 Thread Dave Sill

<[EMAIL PROTECTED]> wrote:

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

The qmail-users mechanism. See:

  http://www.lifewithqmail.org/lwq.html#qmail-users

-Dave



Re: Forwarding some mail recipients to other machine.

2001-05-30 Thread vincent

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




Re: Forwarding some mail recipients to other machine.

2001-05-29 Thread Sebastian Wain

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



Re: Forwarding some mail recipients to other machine.

2001-05-28 Thread Charles Cazabon

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



Forwarding some mail recipients to other machine.

2001-05-28 Thread Sebastian Wain

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.


Thank You
Sebastian Wain