LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   RHEL5 SendMail Errors - please help me at your convenience. (https://www.linuxquestions.org/questions/linux-server-73/rhel5-sendmail-errors-please-help-me-at-your-convenience-749317/)

hhh123 08-21-2009 08:56 AM

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

centosboy 08-21-2009 09:02 AM

Quote:

Originally Posted by hhh123 (Post 3652374)
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?

repo 08-21-2009 09:08 AM

Quote:

Originally Posted by hhh123 (Post 3652374)
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

GrapefruiTgirl 08-21-2009 10:29 AM

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

Berhanie 08-21-2009 12:47 PM

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/



All times are GMT -5. The time now is 08:54 AM.