Distinct user@domain routing

2001-07-09 Thread Kevin DeGraaf

I run a qmail server that handles mail for 8 domains, all of which are in
my rcpthosts and locals files.  It works fine, but I'd like to have a
bit more control over specific user@domain combinations.

Currently, sending mail to kevin at any of the 8 domains works fine, and
the mail is delivered to /var/spool/mail/kevin.

I'd like to set up some aliases that behave differently depending on the
domain.  I'd like to be able to specify, for example, that
[EMAIL PROTECTED] gets sent to one user, but [EMAIL PROTECTED] is sent to
another user.

If I make an ~alias/.qmail-foo file, then anything sent to foo, at any
of our domains, goes to foo's mailbox.  I've been RTFMing all morning.  
Ideas?

-
Kevin DeGraaf







Re: Distinct user@domain routing

2001-07-09 Thread tc lewis


http://cr.yp.to/qmail/faq/incominghost.html#multi-virtual
and the rest of http://cr.yp.to/qmail/faq/incominghost.html

-tcl.


On Mon, 9 Jul 2001, Kevin DeGraaf wrote:

 I run a qmail server that handles mail for 8 domains, all of which are in
 my rcpthosts and locals files.  It works fine, but I'd like to have a
 bit more control over specific user@domain combinations.

 Currently, sending mail to kevin at any of the 8 domains works fine, and
 the mail is delivered to /var/spool/mail/kevin.

 I'd like to set up some aliases that behave differently depending on the
 domain.  I'd like to be able to specify, for example, that
 [EMAIL PROTECTED] gets sent to one user, but [EMAIL PROTECTED] is sent to
 another user.

 If I make an ~alias/.qmail-foo file, then anything sent to foo, at any
 of our domains, goes to foo's mailbox.  I've been RTFMing all morning.
 Ideas?

 -
 Kevin DeGraaf









Re: Distinct user@domain routing

2001-07-09 Thread Charles Cazabon

Kevin DeGraaf [EMAIL PROTECTED] wrote:
 I run a qmail server that handles mail for 8 domains, all of which are in
 my rcpthosts and locals files.  It works fine, but I'd like to have a
 bit more control over specific user@domain combinations.
 
 Currently, sending mail to kevin at any of the 8 domains works fine, and
 the mail is delivered to /var/spool/mail/kevin.

This is expected behaviour.  If you want separate namespaces, those domains
should be virtual, not local.  See the qmail documentation and FAQ.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Distinct user@domain routing

2001-07-09 Thread Frank Tegtmeyer

Charles Cazabon [EMAIL PROTECTED] writes:

 This is expected behaviour.  If you want separate namespaces, those domains
 should be virtual, not local.  See the qmail documentation and FAQ.

If it's only necessary to separate some aliases he could also put
these addresses into virtualdomains and handle them differently. If
the setup is very static it's a simpler approach.

Regards, Frank