I have following line in my cf file
Fw/etc/mail/local-host-names
and following lines in local-host-names file
mydomain.com
hostname.mydomain.com
but when I send mail to mailaddress@otherhost.mydomain.com, sendmail is accepting mails for it. otherhost.mydomain.com resolves to one of the private IP address. What could be the reason?