Specifications

Chapter 4 Conguring and Managing Webmail 61
You can congure the following SquirrelMail options to integrate Webmail with your site:
 Organization Name: The name that appears on the main Webmail page when a
user logs in. The default is Mac OS X Server Webmail.
 Organization Logo: The relative or absolute path to an image le.
 Organization Title: The title of the web browser window while viewing a Webmail
page. The default is Mac OS X Server Webmail.
 Trash Folder: The name of the IMAP folder where Mail service puts messages when
the user deletes them. The default is Deleted Messages.
 Sent Folder: The name of the IMAP folder where Mail service puts messages after
sending them. The default is Sent Messages.
 Draft Folder: The name of the IMAP folder where Mail service puts the user’s draft
messages. The default is Drafts.
Important: If you use the interactive conguration script to change SquirrelMail
settings, you must also use the script to enter the domain name of your server. If this is
not done, Webmail can’t send messages.
Webmail conguration settings apply to all websites hosted by Web service.
To congure Webmail options using a Perl conguration script:
1 Open Terminal and enter the following command:
$ sudo /etc/squirrelmail/config/conf.pl
2 Access and change the SquirrelMail settings as needed using the menu options.
3 Change the domain name to your servers real domain name, such as example.com.
The domain name is the rst item on the SquirrelMail script’s Server Settings menu.
If you don’t enter the servers 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.
4 Save your data after you complete the conguration changes.
5 Quit the interactive script.
Webmail conguration changes do not require restarting Web service unless users
are logged in to Webmail.
To further customize the appearance (for example, to provide a specic appearance
for each website), you must know how to write PHP scripts. In addition, you must
be familiar with the SquirrelMail plug-in architecture and you must write your own
SquirrelMail plug-ins.