Hi Friends,

I am running sendmail 8.14 on rhel6. I have 2 mail servers as serv1.home.com and test.home.com. Currently test.home.com is pointing as MX for home.com domain. So what I am trying to do is to route emails arriving at test.home.com server to serv1.home.com using mailertable. I have defined the Feature in sendmail.mc file and compiled the sendmail.cf accordingly, also created mailertable file and generated mailertable.db also. But the sendmail is ignoring the mailertabel and is delivering all the emails sent at home.com locally to test.home.com using the MX lookup. Logs do not show any error message at all.

Code:
 #cat mailertable
home.com	esmtp:serv1.home.com
Code:
  sendmail.mc

include(/home/rohit/sendmail-8.14.5/cf/m4/cf.m4)dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
FEATURE(`mailertable', `hash /etc/mail/mailertable')dnl
MAILER(local)dnl
MAILER(smtp)dnl

So what i could be missing, any help would be greatly appreciated.