Hello Brett
I think you (or me) are confused...
in the virtualdomains file i put the domain, and the prefix for the users of
that domain:
domain1.com:domain1
domain2.com:domain2

and then u have in the assign file:
=domain1-user:blabla
=domain2-user:blabla

each user is a diffrent user, and i want to forward only if the user mailed
to doesnt exist.

i use Maildir
so, what qmail does, is go and try to find the user at that domain.
if it doesnt exist, y should it look at .qmail-default in its home dir when
it doesnt have a home dir?

again, where should the .qmail file go and what name should it have?

thanks!



-----Original Message-----
From: Brett Randall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 14, 2000 2:11 PM
To: ���� ��� �; qmail
Subject: RE: Forward on Bounce


Try this:

Put the virtual domain in control/virtualdomains. ie:
virtual.domain.com: virtual1
anothervirtual.domain.com: virtual2

virtual1 and virtual2 are two different users...add a different user for
each virtual domain (they can have better names). Then in the home folder
for each of these users, create a .qmail-default file with has the
fastforward line first, and there is a parameter (I forget it, look in the
man page) that will move to the next line in the file if the user doesn't
exist. The second line would therefore be something like:
./Maildir/ or
./Mailbox or
&[EMAIL PROTECTED]

This is presuming you use fastforward...If you don't simply create
.qmail-user files and a .qmail-default in that virtual-domain user's home
folder instead of relying on fastforward (note: i recommend fastforward, it
is much better than sendmail's aliases...naturally)

/BR


Manager
InterPlanetary Solutions
http://ipsware.com


  • Forward o... חיים הלפרן
    • RE: ... Brett Randall
      • ... חיים הלפרן
        • ... Dave Sill
          • ... ���� �����
            • ... Dave Sill
              • ... ���� �����

Reply via email to