Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > More sendmail problems

 
More sendmail problems
Thread Tools
Fresh-Faced Recruit
Join Date: May 2000
Location: Edina, MN, USA
Status: Offline
Jun 21, 2001, 02:44 PM
 
I'm getting the following message in when trying to use sendmail:

"/etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory"

I tried changing my permissions with "sudo chmod 755 /etc" and "/etc/mail" and 644 on "etc/mail/local-host-names" but none of that seems to work.

Ideas anyone? I'm kinda DOA without sendmail working...

Thanks,

Benjamin Higginbotham
webmaster@alphavideo.com / .tv www.alphavideo.com / .tv
-Benjamin James
webmaster@alphavideo.com
www.alphavideo.com
     
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Jun 22, 2001, 08:35 PM
 
After suffering the same problem, a net search provided the answer:

"Sendmail often gets blamed for many problems that are actually the
result of other problems, such as overly permissive modes on directories.
For this reason, sendmail checks the modes on system directories and
files to determine if they can be trusted. For sendmail to run without
complaining, you MUST execute the following command:

chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue"

Fxed it for me (and sorry about not providing the attribution - I did not note it at the time).
     
 
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 10:06 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2