On 7/26/06, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote:
Deepak Shrestha schrieb: > I noticed that if the network card is set to automatic configuration > (obtain everything IP address, DNS etc from modem router then boot > process is smooth. But I give static IP address to my computer then > that's the time sendmail and sm_client takes forever to start. Why is > that so? can somebody guide me? I need to use static IP in my computer > for hosting webpage inside the lan. Sendmail needs a valid IP <--> FQDN mapping in /etc/hosts. So make sure you have a line like 1.2.3.4 mail.domain.tld mail in /etc/hosts. Be aware that Sendmail takes the first dotted hostname as its own. Alexander
I have following in my /etc/hosts =========== # Do not remove the following line, or various programs # that require network functionality will fail. 192.168.1.2 webcomp =========== if I check hostname and domainname it returns hostname is "webcomp" domainname is (none) hostname and domainname are both same in dynamic IP and static IP setting only IP is changed. Dynamic IP settings works perfectly without delay. what should I do next? Thanks!