Actually you definitely have a DNS problem. Set up your DNS as well it is not true that sendmail does not use the hosts table it does. Check /etc/hosts.conf and make sure it says order hosts,bind i.e check the hosts table first then use bind name server. On Mon, 10 Jul 2000, Mikkel L. Ellertson wrote: > Date: Mon, 10 Jul 2000 17:06:35 -0500 (CDT) > From: Mikkel L. Ellertson <mikkel@Infinity-ltd.com> > To: "Saidi; Marwan" <msaidi@ced-concord.com> > Cc: linux-net@vger.rutgers.edu > Subject: Re: More problems with mail (newbie level) > > On Mon, 10 Jul 2000, Saidi; Marwan wrote: > > > Ok, first I must thank everyone who has tried to help me with my problems. I > > will paraphrase.... > > > > We have an NT domain, using Exchange for our corporate mail server. We also > > have a RedHat 6.2 box for our internal web server. On our intranet, we have > > a form that uses FormMail to generate a simple email. When any user fills > > out said form, the resulting email sits in the Queue, with the message > > "Deferred: ced-concord.com:hostname lookup failure". Any attempt to use mail > > clients on the webserver results in the same situation. However, if mail is > > sent with Pine, specifically pointing to mail.ced-concord.com as the SMTP > > server (in pine setup) it reaches it's destination. My question is this: 1) > > how can I setup sendmail to use mail.ced-concord.com as the smtp server of > > choice? 2)is there something in the configuration that is causing the > > problem? I have included /etc/resolv.conf to shed light on the DNS issues. I > > am not running a DNS server on the Linux box. > > > > [root@woodstock /etc]# cat resolv.conf > > nameserver 192.168.0.1 > > domain ced-concord.com > > > > Unfortunately, my experience level is not that high, but I know more than > > anyone else, so I am the Linux guy. Besides, we don't want anyone running M$ > > webservers, right? Apologies in advance if this is too simple, and thanks in > > advance for any help. > > > > > > Marwan Saidi > > Desktop Analyst > > CED - Concord Information Services > > 1551 Sandspur Rd. > > Maitland, FL 32751 > > 407.741.8645 > > 407.551.2372 (fax) > > msaidi@ced-concord.com > > > Are you running a name server on 192.168.0.1? Does the web server know > how to send a message to 192.168.0.1? (Or is 192.168.0.1 the IP of the > web server?) > > Also, if you are running a name server on 192.168.0.1, does it know the IP > address of ced-concord.com? From the error message, you do have a DNS > problem. Remember, sendmail does not use /etc/hosts, but I think Pine > will. > > Mikkel > -- > > Do not meddle in the affairs of dragons, > for you are crunchy and taste good with ketchup. > > - > : send the line "unsubscribe linux-net" in > the body of a message to majordomo@vger.rutgers.edu > Noah ksemat@eahd.or.ug - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu