You can perform basic configuration of the Messaging Server IMAP service by using the configutil command or by using Sun ONE Console. Some of the more common IMAP services options are given in this section. A complete listing can be found in the Chapter 3, Messaging Server Configuration, in Sun Java System Messaging Server 6 2005Q4 Administration Reference. For more information, see also:
From Sun ONE Console, open the Messaging Server you want to configure.
Click the Configuration tab and open the Services folder in the left pane.
Select IMAP.
Click the System tab in the right pane.
To enable the service, check the box labeled “Enable IMAP service at port” and assign a port number.
If desired, enable password-based login.
Specify connection settings as follows:
Set the maximum number of network connections per process. For more information, see Number of Connections per Process.
Set the maximum idle time for connections. For more information, see Dropping Idle Connections.
Specify process settings as follows:
Set the maximum number of threads per process. For more information, see Number of Threads per Process.
Set the maximum number of processes. For more information, see Number of Processes.
If desired, in the IMAP service banner field, specify a service banner.
Click Save.
Command Line: You can set values for the IMAP attributes at the command line as follows:
To enable or disable the IMAP service:
configutil -o service.imap.enable -v [ yes | no ]
To specify the port number:
configutil -o service.imap.port -v number
To enable a separate port for IMAP over SSL:
configutil -o service.imap.enablesslport -v [ yes | no ]
To specify a port number for IMAP over SSL:
configutil -o service.imap.sslport -v number
To enable or disable password login to the IMAP service:
configutil -o service.imap.plaintextmincipher -v value
where value is one of the following:
-1 - Disables password login
0 - Enables password login without encryption
40 - Enables password login and specifies an encryption strength
128 - Enables password login and specifies an encryption strength
To set the maximum number of network connections per process:
configutil -o service.imap.maxsessions -v number
To set the maximum idle time for connections:
configutil -o service.imap.idletimeout -v number
To set the maximum number of threads per process:
configutil -o service.imap.maxthreads -v number
To set the maximum number of processes:
configutil -o service.imap.numprocesses -v number
To specify a protocol welcome banner:
configutil -o service.imap.banner -v banner