Qmail Deliverying - VirtualDomains

Hi All,

I have just setup a qmail server and have some issues with virtualdomains and deliverying emails.

First I created the addtional domains in :
locals
rcpthosts

Then I created the listings in virtualdomains:
example1.com:user-example1
example2.com:user-example2

I then went to that "user" home directory and did the following.

edited .qmail-default :
./Maildir/

edited .qmail-example1-user2 :
/home/user2/Maildir/

edited .qmail-example2-user2 :
/home/user2/Maildir/

edited .qmail-example2 :
./Maildir/

edited .qmail-example1 :
./Maildir/

edited .qmail :
./Maildir/


Now down to the problem. When I send an email to haha@example.com or haha@example2.com i receive bounce backs, stating that the user does not exist.

But when I send emails to user2@example.com or user2@example2.com it goes through perfectly.

Any ideas on what I have missed ?

Thanks,

Chris

 

 

 

 

Top