Interesting question. I have never set up an MTA to allow incoming mails and block outbound mails, but to do this I would probably set the mailertable to some non-existing server. This would affect all accounts though.
Another way would probably involve setting up a smarthost mail server with procmail. Set up a recipe in procmail that when it sees "user@computerA.domaincom" it would throw it away.