Craig, Thank you very much Craig, The local-host-names file worked. I am able to send mail out from my local machine. But when mail is sent to the masqueraded domain address, it is getting rejected to be relayed. Is there a work around for that? I want to relay all the mail destined to the masqueraded domain. Sendmail documentation talks about allowing relaying from a domain, but I am interested in relaying emails destined to few specific domains. Thanks a lot! Naren __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/