1833883 Members
1800 Online
110063 Solutions
New Discussion

sendmail rc.log error

 
Manuel G
Frequent Advisor

sendmail rc.log error

Hi:

Our starting process fails with sendmail daemon:

Starting mail daemon
Output from "/sbin/rc2.d/S540sendmail start":
----------------------------
WARNING: local host name (contal17) is not qualified; fix $j in config file
WARNING: writable directory /etc
WARNING: writable directory /etc
/etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total
sendmail


Does anyone know how to fix it?

Thanks.
4 REPLIES 4
Steve Steel
Honored Contributor

Re: sendmail rc.log error

Hi

1) /etc should be

dr-xr-xr-x 25 bin bin 5120 Jul 6 2001 /etc

2)Non qualified name

a)I always recommend a copy of each original
file by copying to a backup file name, "just in case"...)

2b. /etc/mail/sendmail.cf file:

Modify "Dj" to "Dj$w".

2c. /etc/hosts file:

For the local host, include a "." for the alias; for example, if "host1" is the local host, enter:

host1 host1. <--- hostname followed by "."

2d. Restart SendMail.

3. If you are only using hosts consider setting up DNS


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Shahul
Esteemed Contributor

Re: sendmail rc.log error

Hi

First U check up Ur hostname is fully qualified or not. Then check up the configuration /etc/rc.config.d/mailservs and the alias list from /etc/mail/alias file. After correcting these please try starting sendmail daemon manually. For that follow this

#cd /sbin/init.d
#sendmail start

Best of luck
Shahul
Corthouts Carlo
Valued Contributor

Re: sendmail rc.log error

Hi,

1) In the /etc/hosts file
define an alias for your
host like :
xx.xx.xx.xx contal17 contal17.
Make sure there is a point
after the hostname.

Next change Dj$w.Foo.COM
in the sendmail.cf to
Dj$w.


2) make sure the permissions
for /etc are the default ones "dr-xr-xr-x"


Restart your sendmail daemon
Craig Rants
Honored Contributor

Re: sendmail rc.log error

In /etc/mail/sendmail.cf change
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM

to

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Dj$w.yourdomain.com


then restart sendmail.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut