sendmail only relaying messages bound for one specific domain

view full story

http://serverfault.com – I was wondering if you could please help me with what could be a simple problem but i cant seem to figure it out. We have a few centos servers running sendmail (all internal servers on the local lan)- with a very simplistic sendmail configuration (all default) except for a relay everything to our exchange server option i.e DSourexchangeserver Now what i want to do is have these centos servers sendmail configurations ONLY relay emails destined for our companys domain i.e [email protected] I do not want mail relayed to anywhere else. Is there anyway to get sendmail to check mails being p (HowTos)