Web Hosting Talk







View Full Version : sendmail/etc/mail/sendmail.cf: WARNING: dangerous write permissions


Andrew Pakula
07-27-2002, 02:40 PM
I noticed on one of my domains, my main domain which is netphoria.org the mail was timing out but all my other domains on the same server was working fine.

I went in by telnet to restart sendmail and it is giving me this Warning when I start it up again:

"Setting up Mail Service: sendmail/etc/mail/sendmail.cf: WARNING: dangerous write permissions"

Any idea what is going on here?

blacknight
07-27-2002, 07:35 PM
Did you try doing this as root or admin?

Andrew Pakula
07-27-2002, 07:48 PM
yes as root

chirpy
07-28-2002, 05:17 AM
Well, what are your file permissions on /etc/mail/sendmail.cf?

This is what it should look like (date will vary):
[root /root]# ls -la /etc/mail/sendmail.cf
-rw-r--r-- 1 root root 41626 May 15 18:49 /etc/mail/sendmail.cf

Andrew Pakula
07-28-2002, 07:17 PM
It is:

-rw-rw-r-- 1 root root 41232 Jul 17 16:29 /etc/mail/sendmail.cf

Michael
07-28-2002, 10:28 PM
You will want to set the permissions to -rw-r--r-- AKA 644.

Mike