How to add new domain to an existing qmail-ldap server
I have a qmail-ldap mail server (for receiving mails pop3). Then Ihave a postfix (smtp) for sending mails.
Now I need to create a new domain, what is the actual files I should edit?
I have done the following in Postfix (Say I want to add domain abc.com)
1) Add a line in main.cf that says: virtual_mailbox_domains = abc.com
2) Add a line in local_domains: abc.com OK
3) Add a line in transport: abc.com smtp:[x.x.x.x]:25
Then I move to my pop3 machine which is a qmail-ldap and add these lines in /var/qmail/control
1) echo "abc.com" >> locals
2) echo "abc.com" >> rcpthosts
Then in LDAP I added a user. but when I tried from mail client, I was able to send mail but unable to receive. Nothing was received...evne mails for himself....I supposed since I use qmail-ldap to receive mails, there should be some mistake in my configuration somewhere in qmail-ldap machine....but I can't figure out...anyone knows what is the problem? pls help me.........thanks a lot...for helping..