I already went through this question https://serverfault.com/questions/207619/how-to-setup-a-fake-smtp-server-to-catch-all-mails
What I am trying to achieve is this.