Operating System - HP-UX
1834261 Members
57571 Online
110066 Solutions
New Discussion

Re: How to send mail to different domain name

 

How to send mail to different domain name

Dear All,

I have try to config my domain to be able to send mail from its current domain to other domain as:

current domain = mydomain.th
destination domain = mydomain.co.th

when I tri to send the mail like "someone@mydomain.co.th" its always send to "someone@mydomain.co.th.mydomain.th" and the sending reported that it cant' resolve the destination address.

Do anyone have an idea about this, to send any out going mail to "@mydomain.co.th" with the current domain configuration "mydomain.th"?

Thanks very much
SKE
6 REPLIES 6
U.SivaKumar_2
Honored Contributor

Re: How to send mail to different domain name

Hi,
From the server who are trying to send mail do this.
#nslookup
>type=mx
>mydomain.co.th
What is the output ?

Have put a dot . in the end of forward zone
records (particularly NS )and reverse zone records ?
eg:-
mydomain.co.th.

regards,
U.SivaKumar

Innovations are made when conventions are broken

Re: How to send mail to different domain name

Dear U.SivaKumar,

Actually the DNS configuration is correct (except the forwarding), and I can sent the mail to "someone@mydomain.th" but my corporate configuration is separate the defualt internal domain and internet domain from each other as:

Corporate Domain Name: mydomain.th
Internet Domain Name: mydomain.co.th

So I would like users to be friendly to send the mail out by using "someone@mydomain.co.th" insteady of "someone@mydomain.th". How do I configure my system to be able to do this.

Sincerely Yours,

Sorayuth K.
SKE
U.SivaKumar_2
Honored Contributor

Re: How to send mail to different domain name

Hi,
someone@mydomain.co.th.mydomain.th

shows the problem with DNS config with missing trailing dot.

IF you want mails to go out with domain name mydomain.co.th

Then edit /etc/sendmail.cf and put this line
DMmydomain.co.th

Restart sendmail. It should work now.

regards,
U.SivaKumar

Innovations are made when conventions are broken

Re: How to send mail to different domain name

Dear U.SivaKumar,

I have already tried all your recommend but it doesn't work, I have got the following error message:

someone@mydomain.co.th... Host unknown (Name server: mydomain.co.th: host not found)

The command that I use is "sendmail -v someone@mydomain.co.th"

Thanks,

Sorayuth K.
SKE
Mihails Nikitins
Super Advisor

Re: How to send mail to different domain name

Try searching Usenet group
comp.mail.sendmail via www.google.com or post a message there.

Sorry, currently I do not have idea what's wrong.

BR,
Mihails
KISS - Keep It Simple Stupid
Jieming Wang
Occasional Contributor

Re: How to send mail to different domain name

set up DMmydomain.co.th in sendmail.cf - this will masquerade your domain as mydomain.co.th.

--JW