The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sendmail [279] [ID 702911 mail.alert] ERROR!!! louisd11 SUN Solaris 5 12-15-2006 03:31 PM
Sendmail error atiato UNIX for Dummies Questions & Answers 1 02-08-2006 10:02 AM
X-server fatal error,KDM refused to start callmedctr UNIX for Dummies Questions & Answers 1 07-01-2005 01:02 AM
extracting sendmail: error sphiengollie UNIX for Dummies Questions & Answers 1 04-22-2002 06:42 PM
sendmail error :-( guest100 UNIX for Dummies Questions & Answers 11 02-26-2002 06:10 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-09-2008
saisivakumar saisivakumar is offline
Registered User
  
 

Join Date: May 2008
Posts: 6
Whe trying to start sendmail i getting following error

Hi expert ,

When i trying to start sendmail i getting the following error : pls help me

# ./sendmail start
# 451 4.0.0 /etc/mail/sendmail.cf: line 77: fileclass: cannot open /etc/mail/local-host-names: World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 472: fileclass: cannot open /etc/mail/trusted-users: World writable directory.

*************************************************
****My local-host-name file is empty****
****my trusted-users file contains root***

What to do now ! what to check now!

thanks in advance.
  #2 (permalink)  
Old 06-09-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
The error message suggests that /etc/mail is world writable, so you have to change the permissions to whatever sendmail requires.
  #3 (permalink)  
Old 06-09-2008
saisivakumar saisivakumar is offline
Registered User
  
 

Join Date: May 2008
Posts: 6
hi sysgate,

if i gave 777 also same error !

i have used
# chmod 777 mail & chmod 777 for local-host-names & chmod 777 for trusted-users
  #4 (permalink)  
Old 06-09-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
It complains because the permissions are insecure, not because they are too tight. You need to set them to something like 400. chmod 777 is basically never correct, anyway.
  #5 (permalink)  
Old 06-09-2008
johnf johnf is offline
Registered User
  
 

Join Date: May 2006
Location: England
Posts: 284
Quote:
Originally Posted by saisivakumar View Post
hi sysgate,

if i gave 777 also same error !

i have used
# chmod 777 mail & chmod 777 for local-host-names & chmod 777 for trusted-users
try chmod 775 which withdraws the world writeable privilege.
  #6 (permalink)  
Old 06-09-2008
saisivakumar saisivakumar is offline
Registered User
  
 

Join Date: May 2008
Posts: 6
Quote:
Originally Posted by johnf View Post
try chmod 775 which withdraws the world writeable privilege.
hi era,johnf

I have tried both the permission 400 and 755 !

i m getting same error.

what to do?
thanks

Last edited by saisivakumar; 06-09-2008 at 05:38 AM..
  #7 (permalink)  
Old 06-09-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
Read the documentation to see what the permissions should really be.
Closed Thread

Bookmarks

Tags
sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0