Thanks for the answers.
I have tried doing db accounts setprop username Visible internal
and it is automatically added the account name and username@mydomain.comto /var/qmail/control/badrcptto. But my problem is if someone uses the pseudonym of the account instead of username and sending from extrenal domain to pseudonym-of-user@mydomain.com it goes through. Just guide me on how to add an entry to the templated /var/qmail/comntrol/badrcptto.Not very good at it when comes to creating templates in SME.
Regards,
Rocel