beautypg.com

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

Page 381

background image

Web Service

381

4

In the Terminal application, use a text editor to edit /etc/httpd/httpd_macosxserver.conf and
add the following line:

Include /etc/httpd/httpd_squirrelmail.conf

Where you add this line depends on whether your server hosts multiple Web sites and
whether you want all or some hosted Web sites to have WebMail.

If your server hosts only one Web site or you want all Web sites to have WebMail, add the
“Include” line outside all blocks.

If you want only some Web sites hosted by your server to have WebMail, add the “Include”
line at or near the top of the block for each Web site that you want to have
WebMail service.

Here is an example of the beginning of a block for a Web site at 192.0.32.72
with the “Include” line added:

ServerName www.example.com

Include /etc/httpd/httpd_squirrelmail.conf

5

Add the default document name “index.php” to the default documents for the site.

This allows the server to display the default WebMail page if a client requests a URL for a
folder without including a document name. See “Setting the Default Page for a Web Site” on
page 371 for more infor
mation on adding a default document name.

Configuring WebMail

After enabling WebMail to provide basic email functions on your Web site, you can change
some settings to integrate WebMail with your site. You can do this by editing the
configuration file /etc/squirrelmail/config/config.php or by using the Terminal application to
run an interactive configuration script with root privileges. Either way, you actually change
the settings of SquirrelMail, which is open-source software that provides WebMail service for
the Apache Web server of Mac OS X Server.

SquirrelMail, hence WebMail, has several options that you can configure to integrate WebMail
with your site. The options and their default settings are as follows:

m Organization Name is displayed on the main WebMail page when a user logs in. The

default is Mac OS X Server WebMail.

m Organization Logo specifies the relative or absolute path to an image file.

m Organization Title is displayed as the title of the Web browser window while viewing a

WebMail page. The default is Mac OS X Server WebMail.

m Trash Folder is the name of the IMAP folder where mail service puts messages when the

user deletes them. The default is Deleted Messages.

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