Not long time ago I posted that the sendmail did not work after I installed DNS. Many people sent me suggestions :-), they are:
Bismark Espinoza [bismark@alta.jpl.nasa.gov],
Ade Faleti [afaleti@dllr.state.md.us].
Shouben Zhou [zshouben@PCS.CNU.EDU]
Karl E. Vogel [vogelke@c17mis.region2.wpafb.af.mil]
Kun Li [likun@bjaimail.asiainfo.com]
I solved by:
1. Adding a root domain server in our LAN ;-)
2. Delete the DR and CR definations in mail servers sendmail.cf to avoid deep loooop.
3. Add DM and CM definations in both mail server and clients.
Thanks a lot.
Lin Yu.
BTW, I am from china and Lin is my family name.
The origion is:
>I got problem in setting sendmail.cf.
>
>I am a new system manager and am setting up a SPARC10 using Solaris 2.5.1 as our local >network DNS and Mailhost. The DNS starting file 'named.boot' has set domain to 'ioa.ac.cn.' and the >primary dns server db file to this domain has been setup as the following and the DNS works: (We >do not using NIS)
>
>@ IN SOA sun103.ioa.ac.cn. sun103.ioa.ac.cn. (
> 1.1
> 10800
> 3600
> 43200
> 86400)
> IN NS 192.9.200.103
>localhost. IN A 127.1
>*.ioa.ac.cn IN MX 0 sun103.ioa.ac.cn.
>sun103 IN A 192.9.200.103
>sun104 IN A 192.9.200.104
>...
>And I have copied main.cf to sendmail.cf and replaced the DR ddn-gate and CR ddn-gate with DR >sun103 and CR sun103, but sendmail does not work. I tried sending mails from sun103 to >user@sun103.ioa.ac.cn, it sent but cannot be received. If I mailed to user@sun103, it works.
>How can I?