how to do outgoing mail only to a specific domain

view full story

http://www.linuxquestions.org – i m using sendmail-8.13.8-2.el5 along with MailScanner-4.79.11-1 i want to set a rule so that [email protected] can send only to anotherdomain.com domain. sending mail to any other domain will be rejected. can it be done by sendmail or MailScanner ?? (HowTos)