Skip to contentSkip to conversation

SENDMAIL Ages to start !!!!!

DISCUSSION Miguel Maria Godinho de Matos 2 participants 2 messages Dec 2, 2001

lore
Share & tools
lore
#0 lore raw

I am having some prblems with sendmail since the second time i booted linux.

I have linux for about 2 months now and i just now understood that my send mail deamon takes too long to start.

this is the log message that appeard when i upgraded linux red hat 7.1 to 7.2 for the first time:

( firstboot after installing )

Nov 18 09:48:04 localhost sendmail[1031]: alias database /etc/aliases rebuilt 
by root
Nov 18 09:48:04 localhost sendmail[1031]: /etc/aliases: 42 aliases, longest 
10 bytes, 432 bytes total
Nov 18 09:48:04 localhost sendmail[1043]: starting daemon (8.11.6): 
SMTP+queueing@01:00:00
Nov 18 09:53:11 localhost sendmail[1675]: fAI9rAX01675: from=root, size=186, 
class=0, nrcpts=1, msgid=<[email protected]>, 
relay=root@localhost
Nov 18 09:53:11 localhost sendmail[1679]: fAI9rAX01675: to=root, ctladdr=root 
(0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30186, dsn=2.0.0, 
stat=Sent
Nov 18 10:06:18 localhost sendmail[22560]: fAIA6H722560: from=root, size=241, 
class=0, nrcpts=1, msgid=<[email protected]>, 
relay=root@localhost
Nov 18 10:06:18 localhost sendmail[22560]: fAIA6H722560: to=root, 

ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=loc

no problems this time, send mail started smoothly and quickly!!!!!!!!

Well, the first thing i did when i loged in was to configure my hostname and network devices.

So i changed my hostname to: AstinusGod, i added this host and it's network ip to the hostname table and so on!!!

since then look:

send mail takes ages to start and it keeps these kinda error messages in the log files:

Dec  2 00:56:04 AstinusGod sendmail[9808]: My unqualified host name 
(AstinusGod) unknown; sleeping for retry
Dec  2 00:57:12 AstinusGod sendmail[9808]: unable to qualify my own domain 
name (AstinusGod) -- using short name
Dec  2 00:57:12 AstinusGod sendmail[9808]: fB20vCX09808: from=root, size=230, 
class=0, nrcpts=1, msgid=<200112020057.fB20vCX09808@AstinusGod>, 
relay=root@localhost
Dec  2 00:57:12 AstinusGod sendmail[9808]: fB20vCX09808: to=root, 

ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30230, dsn=2.0.0, stat=Sent

I don't know what to do.... to solve this problem....

i figure that if i change my hostname to localhost again, and if i remove the ip entries i entered... it may be solved.. but i don't want that, just want sendmail to recognize them!!!!!

plz somebody help!!

regards, Astinus

#1 lore raw
Quoted 8 lines · Miguel Maria Godinho de Matos

I am having some prblems with sendmail since the second time i booted linux.

I have linux for about 2 months now and i just now understood that my send mail deamon takes too long to start.

this is the log message that appeard when i upgraded linux red hat 7.1 to 7.2 for the first time:

Beware of scripts that claim to fix the /etc/hosts file. (Mandrake 8.1 cups script[confirmed], among other possibilites. one ugly sol'n is to make /etc/hosts immutable [chattr +i /etc/hosts]. Risky, and needs to be root to do it. But immutable stops even root from modifying the file. Of course, do this after fixing it. Also, try fixing it so it is a real domain name. like astinusgod.pt [or whatever u hope to have as your domain name someday])

I used to have this problem too w/ Mandrake.

HTH

Signature · 5 lines
tabris

   A man alone is easy prey

                                              Clint Eastwood - Pale Rider