Shutdown Smarthost

We wish to remove our smarthost and allow Domino to do all the mail delivery/routing. When we turn off the smarthost some mail gets backed up in the mail.box and does not get delivered. Is there a setting on the domino server that needs to be changed in order to get this to work?