Starting sendmail – Apple Mac OS X Server (Administrator’s Guide) User Manual
Page 392

392
Chapter 9
3
Click the Protocols tab and choose Other Mail Transfer Agent from the pop-up menu.
4
Click Save.
5
Start the other mail transfer agent program.
Starting Sendmail
If you configure mail service to use an alternate mail transfer agent such as the UNIX
program Sendmail, you need to start the mail transfer agent program. It then becomes the
primary SMTP mail transfer agent on your server.
The UNIX Sendmail program is included with Mac OS X. To start Sendmail as root, type this
command in the Terminal application:
/usr/lib/sendmail -bd
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
MAILSERVER=-YES-
To keep Sendmail from starting when the system starts up, change the line to
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 rwrr-xr-t then they are correct for Mac OS X
Server.