Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
avoiding group-writable directory failures, was Re: Sendmail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

avoiding group-writable directory failures, was Re: Sendmail



In Landon Fuller's reply, T Ingham was quoted as saying:

I'm having a hell of a time setting up sendmail and having it run. I realize that this is probably not the best place to post a message asking for assistance on the issue, but I'm kind of at a loss.
...
I've followed the instructions on the oreilly site for setting up sendmail, but I still get errors regarding directory permissions. So I've set both my queue directories temporarily to world writable and now I don't get permissions errors (of course)

If you are still having this problem, you may want to ensure that your /etc/sendmail.cf contains this option:


	O DontBlameSendmail=ClassFileInUnsafeDirPath

before any file options, in particular:

	Fw/etc/mail/local-host-names

are set. Sendmail doesn't like any group-writable directories in the path of any file; this was originally set up to avoid security problems related to forward (.forward) files but applies to other contexts as well. This opens up the restriction in a limited way.

The reason I use it is that I keep my root dir (/) group-writable so that I can manipulate system-level things easily by group membership, without having to log in as root (which you can't conveniently do in some OS X contexts).

The option is not clearly documented: /usr/share/sendmail/conf/README mentions DontBlameSendmail but not the ClassFileInUnsafeDirPath thing. I found that in a very handy Sendmail Operation Guide at:

	http://docsrv.caldera.com/MM_admin/CTOC-_Sendmail_Operations_Guide.html

in the Tuning : File Modes section:

	http://docsrv.caldera.com/MM_admin/_File_modes.html

Good luck!
-^-rdj-^-
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.



References: 
 >Re: Sendmail (From: Landon Fuller <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.