beautypg.com

Apple Mac OS X Server (version 10.2.3 or later) User Manual

Page 415

background image

Mail Service

415

To configure Sendmail to start automatically every time the system starts up, you need root
privileges; edit the /etc/hostconfig file, find the line containing MAILSERVER, and make it
read as follows:

MAILSERVER=-YES-

To keep Sendmail from starting when the system starts up, change the line to the following:

MAILSERVER=-NO-

The Sendmail program will not operate if the permissions of the root directory are changed.
Some installer programs for software updates or applications may change the root directory
permissions from the standard for Mac OS X Server to the standard for a Mac OS X client
computer.

The standard for Mac OS X Server is 1755 or rwxr-xr-t, which means read/write/execute by
owner, read/execute by group, and read/execute by everyone (world).

The standard for a Mac OS X client is 1775 or rwxrwxr-t, which allows group write
privileges.

You can check the permissions currently set for the root directory by typing the following
command in the Terminal application:

ls -al /

This form of the ls command displays detailed information for the root directory. The first
character of each line indicates the type of item (d for directory, l for symbolic link, - for
regular file). This is followed by nine characters that indicate the permissions for the item.
The item name is at the end of the line. A single period (.) represents the directory whose
contents are listed, and it is the first line displayed by this ls command. In this case, the first
line is for the root directory.

If the permissions for the root directory are rwxr-xr-t then they are correct for Mac OS X
Server.

If the permissions for the root directory are rwxrwxr-t then they have been changed to the
standard for a Mac OS X client. To correct this, type the following command in the Terminal
application:

sudo chmod g-w /

For more information on Sendmail, see this Web site:

www.sendmail.org

LL0395.Book Page 415 Wednesday, November 20, 2002 11:44 AM