Re: smtp and mmdf

tony_at_aplawrence.com
Date: 06/05/03


Date: Thu, 5 Jun 2003 11:08:57 +0000 (UTC)


"Robert T. Repko (R Squared Consultants)" <rtr@rsquared.com> wrote:
: At 6/4/2003 05:43 PM, Jean-Pierre Radley reminisced:
:>Robert T. Repko (R Squared Consultants) typed (on Wed, Jun 04, 2003 at
:>08:11:53PM +0000):
:>| At 6/4/2003 10:17 AM, Jean-Pierre Radley reminisced:
:>| >Robert T. Repko (R Squared Consultants) typed (on Wed, Jun 04, 2003 at
:>| >12:56:18PM +0000):
:>
:>| >| I am trying to send mail to an outside address (a different domain
:>| >| name) and failing miserably. The system is OSR 5.0.2 running mmdf.
:>| >| I can telnet to the address rsquared.com but when I send mail to
:>| >| rtr@rsquared.com the domain name is not resolved.
:>| >|
:>| >| (BHST) Unknown host/domain name in "rtr@rsquared.com" Submit
:>| >| error: No valid addresses
:>| >|
:>| >| I have rsquared.com in the hosts file. I have the same problem
:>| >| trying to send to a mail server within the same domain, I can
:>| >| telnet to the mail server but unable to send mail to the mail
:>| >| server. I believe my problem lies with DNS, that the server is
:>| >| not performing DNS with an external DNS server. If I try to
:>| >| telnet to a remote host, one that is not in hosts, I receive the
:>| >| error message 'alexandria.k12.nj.us: Host name lookup failure'.
:>| >| I thought I had the DNS servers listed but I must be missing
:>| >| something. Can someone point me in the right direction to first
:>| >| resolve the DNS problem and at that point I hope the mail problem
:>| >| with also be solved. What entries must be made, and where, to get
:>| >| DNS to work properly.
:>| >|
:>| >| From chan.log when I try to send to rtr@server.pburg.k12.nj.us (this mail
:>| >| server is in house and I have an entry in hosts)
:>| >
:>| >What is your /etc/hosts file?
:>| >
:>| >What is the output of netstat -rn?
:>| >
:>| >Can you ping jpradley.jpr.com?
:>|
:>| /etc #less resolv.conf
:>| nameserver=172.20.18.203
:>| nameserver=151.198.0.68
:>| nameserver=199.45.45.14
:>| hostresorder local bind
:>| search pburg.k12.nj.us
:>
:>Uh, take out those '=' signs and replace them by whitespace. :-)
:>
:>| /etc/hosts
:>| 127.0.0.1 localhost
:>| 172.20.20.36 Phillipsburg High School
:>| 209.158.163.22 rsquared.com
:>| 209.158.163.51 warrennet.org
:>| 172.20.18.172 pburg.k12.nj.us
:>| 172.20.18.172 server.pburg.k12.nj.us
:>|
:>| /etc #netstat -rn
:>| Routing tables
:>| Destination Gateway Flags Refs Use Interface
:>| default 172.20.20.1 UGS 8 19206 net0
:>| 127.0.0.1 127.0.0.1 UH 3 364 lo0
:>| 172.20.20 172.20.20.36 UC 1 0 net0
:>| 172.20.20.36 127.0.0.1 UGHS 0 0 lo0
:>| 224 172.20.20.36 UCS 0 0 net0
:>|
:>| ping jpradley.jpr.com
:>| ping: unknown host jpradley.jpr.com
:>
:>--
:>JP

: = signs replaced with whitespace, still not working. Is there a daemon I
: need to stop and start for mmdf to notice the whitespace?

mmdf doesn't read it, mmdf just makes a library call which in turn calls the
resolver. But no, you don't need to restart anything when you make
a change to resolv.conf.

You should find out if your problem is still DNS. Can you now "ping jpr.com"?

Are you actually able to resolve addresses? Try

dig @172.20.18.203 pcunix.com mx

for each of your nameservers. Do they return results?

--
tony@aplawrence.com Unix/Linux resources: http://aplawrence.com
Inexpensive phone/email support
Download Free SCO Skills Test: http://pcunix.com/skilltests.html



Relevant Pages

  • Re: Hosts file ignored
    ... > any of the entries I have made to the server's hosts file. ... > Successfully flushed the DNS Resolver Cache. ... > I am not running a DNS server on my system. ... > I can ping IP addresses without any problem, both on the LAN and on ...
    (microsoft.public.windows.server.general)
  • Re: Cant see out to .co.uk from inside my .local domain (forward l
    ... "ping request could not find host xxx please check the name and try again" ... AD DNS space is whatever.local. ... Remove the hosts info. ...
    (microsoft.public.windows.server.sbs)
  • Re: HTTP trouble in 2004
    ... In this way, all DNS ... how does this server resolve external ... They are just HTTP ... > Ping in ALLOW PING protool from EXTERNAL to INTERNAL ...
    (microsoft.public.isaserver)
  • Re: loss of SOME connectivity
    ... I'm a little concerned about your Primary DNS suffix and your DHCP. ... Is your router handling DHCP for the network? ... Ethernet adapter Server Local Area Connection: ... I get "Ping request could not find ...
    (microsoft.public.windows.server.sbs)
  • Re: Cant see out to .co.uk from inside my .local domain (forward l
    ... Well I removed the entry from my hosts file and issued a ping command to both ... network only from the server which I changed the hosts file for. ... Indeed is it even a DNS issue. ...
    (microsoft.public.windows.server.sbs)