blocking sendmail from domain

hi

i edited the /etc/mail/access files with the line "yahoo.com REJECT", afterwhich i cannot send out files to the yahoo.com domain. :mad: can someone advise on how to go about configuring such that i am able to
send mail out to yahoo.com BUT block INCOMING mail from yahoo.com :confused:
i am using solaris 10 and my sendmail version is Version 8.13.6
thanks!!! :slight_smile: