Re: remote relay, multiple forwarding

2001-07-13 Thread Dave Sill

Charles Cazabon [EMAIL PROTECTED] wrote:

This is the way to do it.  What you could do is make a domain virtual,
and create a couple of .qmail files to handle it.  In virtual domains,
do

  defaultdomain:alias-defaultdomain

then have ~alias/.qmail-defaultdomain-jim, which forwards to two
addresses, and ~alias.qmail-defaultdomain-default, which just contains

  |forward $DEFAULT@otherdomain

where otherdomain is an alias that will get the mail to the right MTA,
either through an MX record, or an entry in smtproutes.

Better yet, make a virtual user. Put:

jim@defaultdomain:alias-defaultdomain

in control/virtualdomains and create ~alias/.qmail-defaultdomain-jim
as above. No need for ~alias/.qmail-defaultdomain-default.

-Dave



remote relay, multiple forwarding

2001-07-12 Thread ~darkage

 Im trying to setup mutliple forwarding for only ONE user account in the
domain (ie. jim@defaultdomain forwards to jim@domain1  to jim@domain2)   on
a qmail server that just does inbound/outbound relaying, only remote
deliverys no local ones.  I've been reading the life with qmail guide 
experimenting a bit..  I understand how to do this with local deliverys with
a .qmail file in a users directory..  If you dont have user accounts
setup on your qmail server with a home dir for users  all that,  I assume
you can use ie.  /var/qmail/alias/.qmail-jim(with or without the domain
specified) as if it was a ~jim/.qmail file with a few differences

Basically what I wanna know is if I'm heading in the right direction.. Is
there a better way to do this?   like using fastforward?

many thanxs

d.




Re: remote relay, multiple forwarding

2001-07-12 Thread Charles Cazabon

~darkage [EMAIL PROTECTED] wrote:
 Im trying to setup mutliple forwarding for only ONE user account in
 the domain (ie. jim@defaultdomain forwards to jim@domain1  to
 jim@domain2)   on a qmail server that just does inbound/outbound
 relaying, only remote deliverys no local ones.

If you're not doing local/virtual delivery, qmail can't do this -- all
it does then is store  forward.

 I understand how to do this with local deliverys with a .qmail file in
 a users directory..

This is the way to do it.  What you could do is make a domain virtual,
and create a couple of .qmail files to handle it.  In virtual domains,
do

  defaultdomain:alias-defaultdomain

then have ~alias/.qmail-defaultdomain-jim, which forwards to two
addresses, and ~alias.qmail-defaultdomain-default, which just contains

  |forward $DEFAULT@otherdomain

where otherdomain is an alias that will get the mail to the right MTA,
either through an MX record, or an entry in smtproutes.

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