Sendmail sleeping during boot.

Kostas Sfakiotakis kostassf at cha.forthnet.gr
Fri Sep 22 15:46:00 UTC 2006


Greetings Erik

Erik P. Olsen wrote:
>  Mogens Kjaer skrev:
> > Erik P. Olsen wrote: ...
> >> So sendmail spends 2 minutes waiting. Whatfor?

Misconfiguration . Sendmail can't correctly identify the HOSTNAME  of the
computer that it's running .

As soon as sendmail has finished everything is normal.

Well not entirely , sendmail is using the short name , which might 
create problems
when you try to sent an email to the outer world .

> > Usually a DNS or /etc/hosts problem.

Well i would choose /etc/hosts  for this occassion . Well since 
/etc/host.conf says
hosts,bind of course .

> > What is the contents of your /etc/hosts file?
>
>  /etc/hosts:

>127.0.0.1    localhost.localdomain    localhost
>192.168.1.100            EPO-xp
 >192.168.1.105   epowork
 >192.168.1.125 epohost
>

EEE ???? What's this . Apart from the first line all the others are wrong .
In the second column you have to put the "FQDN" ( sort of speaking ) in 
other
words the hostname.domainname thing and in the third column the alliases 
for example

192.168.1.100         EPO-xp.localdomain   EPO

>  /etc/sysconfig/network:
>NETWORKING=yes
 >HOSTNAME=localhost

Again the above line should read
HOSTANME=localhost.localdomain  , in order to be correct or in your 
occassion
for example :

HOSTNAME=epohost.localdomain


Kind Regards,
   Kostas




More information about the users mailing list