We help IT Professionals succeed at work.
Get Started

RHEL 5 sendmail problems

eggster34
eggster34 asked
on
965 Views
Last Modified: 2012-05-10
Hi, I'm having this very strange issue today, where I get errors trying to start sendmail:

[root@eggster mail]# service sendmail restart
Shutting down sm-client: [  OK  ]
Shutting down sendmail: [FAILED]
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': Group writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
[FAILED]
Starting sm-client: [  OK  ]

my permissions on these directories are as below, so I don't see any of the mentioned files being group writable??

[root@eggster mail]# ls -l
total 268
-rw-r--r-- 1 root root   355 Jan 22  2010 access
-rw-r--r-- 1 root root 12288 Apr 23  2010 access.db
-rw-r--r-- 1 root root     0 Jan 22  2010 domaintable
-rw-r--r-- 1 root root 12288 Apr 23  2010 domaintable.db
-rw-r--r-- 1 root root  5521 Jan 22  2010 helpfile
-rw-r--r-- 1 root root    64 Jan 22  2010 local-host-names
-rw-r--r-- 1 root root     0 Jan 22  2010 mailertable
-rw-r--r-- 1 root root 12288 Apr 23  2010 mailertable.db
-rw-r--r-- 1 root root  1048 Jan 22  2010 Makefile
-rw-r--r-- 1 root root 58275 Nov 30 18:46 sendmail.cf
-rw-r--r-- 1 root root 58325 Nov 30 17:45 sendmail.cf.bak
-rw-r--r-- 1 root root  7205 Nov 30 17:46 sendmail.mc
drwxr-xr-x 2 root root  4096 Jan 23  2009 spamassassin
-rw-r--r-- 1 root root 41382 Nov 30 17:13 submit.cf
-rw-r--r-- 1 root root   940 Jan 22  2010 submit.mc
-rw-r--r-- 1 root root   127 Jan 22  2010 trusted-users
-rw-r--r-- 1 root root     0 Jan 22  2010 virtusertable
-rw-r--r-- 1 root root 12288 Apr 23  2010 virtusertable.db
[root@eggster mail]#
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE