I'm using Redhat9 and Sendmail to handle my Domains e-mail,

mydomain1.com and mydomain2.com

so, I put mydomain1.com and mydomain2.com in local-host-name,

i also put these in virtusertable

martin@mydomain1.com local:martin
wilson@mydomain2.com local:wilson

than i use makemap hash virtusertable.db < virtusertable

when i test the config using:

sendmail -bv martin@mydomain2.com

sendmail retrun
martin@mydomain2.com.. deliverable: mailer local, user martin

Why it will retrun this result?? i don't want martin in mydomain2.com
did i missing something?? pls help ..........