Welcome to the forums,
What your asking about isn't usually called 'relay' you just want 'internal domain emailing only'.
Current method:
Restrict sending to certain domains - ZimbraWiki (sry command line not admin console)
This RFE has distribution lists in the name-but the goal is to have the following options for every user:
-User can send email outside of his domain
-User can receive mail from outside his domain.
Bug 9620 - Mail policies and access control for sending to distribution lists
(be sure to add your vote)