Internet Express for Tru64 UNIX Version 6.10 Administration Guide (5900-1418, March 2011)

For information on tuning your system to improve the performance of your mail server, see:
http://h30097.www3.hp.com/docs/internet/TITLE.HTM
Setting Up a UNIX User Account for UW IMAP
No special administration tasks are normally needed to set up a user to use the UW-IMAP server,
but if the user had been using mail folders in the mh format, convert the folders to UNIX "From-style"
folders using the /usr/dt/bin/mailcv -A command. (To read the mailcv(1) reference page,
use the man n mailcv command.) The user's mail client might need to be configured to specify
the directory that contains the mail folders. For example, if the mail folders are in a subdirectory
of the user's home directory (that is, username/mail), then the user might need to configure the
IMAP mail client to specify the mail folder directory as mail/.
Setting Up a UNIX User Account for Cyrus IMAP
To set up a UNIX user for Cyrus IMAP mail, you must create a Cyrus INBOX folder for the user,
establish an IMAP alias for the user, and then convert the user's existing mail folders (if any) to the
Cyrus format (see Section : Converting IMAP Mail Folders).
If you plan to serve more than 500 users with Cyrus IMAP mail, consider partitioning the users to
improve performance. You can specify a partition as an additional parameter when using the cm
command to create the user's INBOX folder (user.username directory). See the cyradm(1)
reference page for more information on partitioning users.
To create a Cyrus INBOX folder and IMAP alias for a user, follow these steps:
1. Review the cyradm(1) reference page.
2. As root, enter the following command:
# /usr/local/bin/cyradm localhost
3. Enter the password. (The system assumes that the user ID is the ID of the user running the
command.)
localhost password: password
4. Enter the following command to create the Cyrus INBOX folder. The user name (for example,
duke) must exist in the /etc/passwd file with default protections set so that any new files
or directories created are owned by the user.
localhost> cm user.duke
This folder will display as INBOX to an IMAP mail client, but exists on the server as user.duke.
All mail folders created by duke will be children of user.duke.
5. Exit the localhost shell:
localhost> Ctrl/D
6. Add an IMAP alias for user duke to the /var/adm/sendmail/aliases file:
duke: duke@IMAP
7. To enable the IMAP alias to take effect, enter the newaliases command:
# newaliases
Converting IMAP Mail Folders
To read existing mail using an IMAP mail client when a Cyrus IMAP Server is in use, the user'sTru64
UNIX existing mail folders must be converted to the Cyrus format. The mail conversion utility, /usr/
dt/bin/mailcv, can convert UNIX (“From style?) folders to the Cyrus format and vice versa.
When converting from UNIX folders to Cyrus folders, the target folder must exist. You can create
folders by using a mail client or the cyradm utility (see cyradm(1)).
To convert from UNIX (“From style?) folders to IMAP folders, enter the following command:
134 Mail Access Administration