Hi,
   
   This is what we want to archive:
   
   [EMAIL PROTECTED]    localuser1
   [EMAIL PROTECTED]    localuser2
   [EMAIL PROTECTED]    [EMAIL PROTECTED]
   @virtual.com         anotherlocaluser

Do this

1) Put virtual.com in rcpthosts
2) Put the following in virtualdomains

virtual.com:anotherlocaluser

3) Now do

su - anotherlocaluser
echo "&localuser1" > ~/.qmail-user1
echo "&localuser2" > ~/.qmail-user2
echo "&[EMAIL PROTECTED]" ~/.qmail-user3
echo > ~/.qmail-default

   How do we go about this i've added the domain virtual.com to rcpthosts,
   locals but how do you do the rest.  I have read every peace of
   documenation i can find on qmail and it does not explain it anywhere.
   I've tried a number of things, so far over 150 email domains are down till
   i can fix this so if anyone has any ideas it would be appriated.

The way to figure out things is this: 

1) man qmail-control tells you which control file is used by which
qmail program.

2) Look at the man page of the program.  
In your case, qmail-send uses virtualdomains.  Note the sentence form
the qmail-send man page:

            qmail-send  handles virtualdomains after locals: if a
            domain is listed in locals, virtualdomains  does  not
            apply.
   
Since virtualdomains rely on .qmail files, look into the dot-qmail man
page (that is where "default" is coming from).

3) If you do not see how to handle your case, look into the FAQ for
additional examples.

4) If nothing works, write to the list.

Mate

Reply via email to