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

382
Chapter 8
m Sent Folder is the name of the IMAP folder where mail service puts messages after
sending them. The default is Sent Messages.
m Draft Folder is the name of the IMAP folder where mail service puts the user’s draft
messages. The default is Drafts.
You can configure these and other settings—such as which mail server provides mail service
for WebMail—by running an interactive Perl script in a Terminal window, with root privileges.
The script operates by reading original values from the config.php file and writing new values
back to config.php.
The WebMail configuration settings apply to all Web sites hosted by your Web service.
To configure basic WebMail options:
1
In the Terminal application, type the following command and press Return:
sudo /etc/squirrelmail/config/conf.php
2
Follow the instructions displayed in the Terminal window to change SquirrelMail settings as
desired.
3
Change the domain name to your server’s real domain name, such as example.com.
The domain name is the first item on the script’s Server Settings menu.
If you don’t enter the server’s actual domain name correctly, the interactive script replaces
the original value, getenv(SERVER_NAME), with the same value but enclosed in single
quotes. The quoted value no longer works as a function call to retrieve the domain name,
and as a result WebMail can’t send messages.
WebMail configuration changes do not require restarting Web service unless users are logged
in to WebMail.
To further customize the appearance (for example, to provide a specific appearance for each
of your Web sites), you need to know how to write PHP scripts. In addition, you need to
become familiar with the SquirrelMail plug-in architecture and write your own SquirrelMail
plug-ins.
Important
If you use the interactive configuration script to change any SquirrelMail
settings, you must also use the script to enter your server’s domain name. If you fail to do
this, WebMail will be unable to send messages.
LL0395.Book Page 382 Wednesday, November 20, 2002 11:44 AM