LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-21-2009, 08:56 AM   #1
hhh123
Member
 
Registered: Jul 2009
Location: /
Distribution: centos
Posts: 47

Rep: Reputation: 1
RHEL5 SendMail Errors - please help me at your convenience.


have following problem related to sendmail.
If anybody have solution on this problem plz reply me on
##########################################
Server OS : Red hat Enterprise Linux 5
sendmail packages : sendmail-8.13.8-2.el5.i386.rpm
sendmail-8.13.8-2.el5.i386.rpm
sendmail-devel-8.13.8-2.el5.i386.rpm
sendmail-cf-8.13.8-2.el5.i386.rpm
sendmail-doc-8.13.8-2.el5.i386.rpm
##########################################
[root@server ~]# service sendmail restart
Shutting down sm-client: [FAILED]
Shutting down sendmail: [FAILED]
Starting sendmail: /etc/mail/sendmail.cf: WARNING: dangerous write permissions
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 587: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
[FAILED]
Starting sm-client: /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
[FAILED]
[root@server ~]#
###################################################

Reply Me soon.


Regards
BatMAN
 
Old 08-21-2009, 09:02 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by hhh123 View Post
have following problem related to sendmail.
If anybody have solution on this problem plz reply me on
##########################################
Server OS : Red hat Enterprise Linux 5
sendmail packages : sendmail-8.13.8-2.el5.i386.rpm
sendmail-8.13.8-2.el5.i386.rpm
sendmail-devel-8.13.8-2.el5.i386.rpm
sendmail-cf-8.13.8-2.el5.i386.rpm
sendmail-doc-8.13.8-2.el5.i386.rpm
##########################################
[root@server ~]# service sendmail restart
Shutting down sm-client: [FAILED]
Shutting down sendmail: [FAILED]
Starting sendmail: /etc/mail/sendmail.cf: WARNING: dangerous write permissions
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 587: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
[FAILED]
Starting sm-client: /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
[FAILED]
[root@server ~]#
###################################################

Reply Me soon.


Regards
BatMAN

the permissions do not look right on the /etc/mail directory.

what are they, and those of the files inside?
 
Old 08-21-2009, 09:08 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by hhh123 View Post
have following problem related to sendmail.
If anybody have solution on this problem plz reply me on
##########################################
Server OS : Red hat Enterprise Linux 5
sendmail packages : sendmail-8.13.8-2.el5.i386.rpm
sendmail-8.13.8-2.el5.i386.rpm
sendmail-devel-8.13.8-2.el5.i386.rpm
sendmail-cf-8.13.8-2.el5.i386.rpm
sendmail-doc-8.13.8-2.el5.i386.rpm
##########################################
[root@server ~]# service sendmail restart
Shutting down sm-client: [FAILED]
Shutting down sendmail: [FAILED]
Starting sendmail: /etc/mail/sendmail.cf: WARNING: dangerous write permissions
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 587: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
[FAILED]
Starting sm-client: /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
[FAILED]
[root@server ~]#
###################################################

Reply Me soon.


Regards
BatMAN
Welcome to LQ
Please start a new thread for your problem, instead of highjacking this one.
Thank you
 
Old 08-21-2009, 10:29 AM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
hhh123,

I have moved your hijacks to a new thread of your own. Please do not interject your issue into someone else' existing thread in the future.
Also note that members of LQ are volunteering their time to help you, and everyone else, with equal priority (or lack thereof) given to all. Requesting 'a reply soon' will not work in your favor.

Best of success with your issue,
Sasha
 
Old 08-21-2009, 12:47 PM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
The error message makes you think that permissions on /etc/mail are too loose, but a google search shows that the same error message appears when one of the parent directories has the same problem with its permissions. So check them all. Here is what I have on my CentOS system:
Code:
[root@machine ~]# ls -ld / /etc/ /etc/mail
drwxr-xr-x 21 root root 4096 Jul 31 15:16 //
drwxr-xr-x 77 root root 4096 Aug 19 04:02 /etc//
drwxr-xr-x  2 root root 4096 Nov 14  2007 /etc/mail/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS errors for fstab entries during boot time RHEL5 sandricky Linux - Server 3 08-05-2009 05:40 PM
Kernel errors on RHEL5 collym Linux - General 1 10-06-2008 12:25 PM
Errors starting tomboy on rhel5 terry_opie Linux - Software 2 09-10-2007 01:28 PM
Convenience question fiod Linux - General 3 06-02-2007 02:32 PM
security hole or convenience? carboncopy Slackware 3 08-13-2003 03:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration