I have recencetly configured internel mail server using sendmail for our LAN.

The setup is like :
Consider our domain name as test, which is hosted in external VPS . Now our internel mail server routes mail for test internally and if we send mail to external domain then it is forwarded to main server ( using SMART_HOST configuration) and from main server the mail will to deliverd to external domain . It works fine..

Now i have another requirement from my LAN clients that for some mail account in test.com ( like team@test ),the mail must be not routed inside but in must be send to out mail server.Since i have give the domain test in LOCAL_DOMAIN all mailids addressed with test are accepted internally and not forwarded to external server.How fix this issue ?

Thanks & Regards,
Selva