Netscape Messaging Server supports the Post Office Protocol 3 (POP3), the Internet Mail Access Protocol 4 (IMAP4), and the HyperText Transfer Protocol (HTTP) for client access to mailboxes. IMAP and POP are both Internet-standard mailbox protocols. Messenger Express, a web-enabled electronic mail program, lets end users access their mailboxes using a browser running on an Internet-connected computer system using HTTP.
General Configuration Login Requirements Performance Parameters Client Access Controls Configuring POP Services Configuring IMAP Services Configuring HTTP Services Customizing HTTP Services Interface Reference: POP, IMAP, and HTTP Configuration
You can control whether any particular instance of Messaging Server makes its POP, IMAP, or HTTP service available for use. This is not the same as starting and stopping services (see Starting and Stopping Services); to function, POP, IMAP, or HTTP must be both enabled and started.
For each service, you can specify the port number that the server is to use for service connections:
If you enable the POP service, you can specify the port number that the server is to use for POP connections. The default is 110.
If you enable the IMAP service, you can specify the port number that the server is to use for IMAP connections. The default is 143.
If you enable the HTTP service, you can specify the port number that the server is to use for HTTP connections. The default is 80.
Port numbers can be any number from 1 to 65535.
Make sure the port you choose isn't already in use or reserved for another service.
Messaging Server supports encrypted communications with IMAP and HTTP clients by using the Secure Sockets Layer (SSL) protocol. For general information on support for SSL in Messaging Server, see Configuring SSL Encryption and Authentication.
You can accept the default IMAP over SSL port number (993) or you can specify a separate port for IMAP over SSL.
You can accept the default HTTP over SSL port number (443) or you can specify a separate port for HTTP.
When a client first connects to the Messaging Server POP or IMAP port, the server sends an identifying text string to the client. This service banner (not normally displayed to the client's user) identifies the server as Netscape Messaging Server, and gives the server's version number. The banner is most typically used for client debugging or problem-isolation purposes.
Anonymous login refers to a user logging in under the special user name anonymous, which requires no password. (By convention analogous to that of FTP, users enter their email addresses as passwords, so that their accesses are logged.) One reason for permitting anonymous login might be to provide read-only access to, for example, archived messages of a mailing list or to shared IMAP or HTTP folders.
In typical messaging installations, users access their POP, IMAP, or HTTP mailboxes by entering a password into their mail client. The client sends the password to the server, which uses it to authenticate the user. If the user is authenticated, the server decides, based on access-control rules, whether or not to grant the user access to certain mailboxes stored on that server.
If you choose 0, you do not require encryption. Passwords are sent in the clear or they are encrypted, depending on client policy.
If you choose a nonzero value, the client must establish an SSL session with the server--using a cipher whose key length is at least the value you specify--thus encrypting any IMAP or HTTP user passwords the client sends.
In addition to password-based authentication, Netscape servers support the authentication of users through examination of their digital certificates. Instead of presenting a password, the client presents the user's certificate when it establishes an SSL session with the server. If the certificate is validated, the user is considered authenticated.
Messaging Server can divide its work among several executing processes, which in some cases can increase efficiency. This capability is especially useful with multiprocessor server machines, in which adjusting the number of server processes can allow more efficient distribution of multiple tasks among the hardware processors.
The more simultaneous client connections your POP, IMAP, or HTTP service can maintain, the better it is for clients. If clients are denied service because no connections are available, they must then wait until another client disconnects.
IMAP connections are generally long-lived compared to POP and HTTP connections. When a user connects to IMAP to download messages, the connection is usually maintained until the user quits or the connection times out. In contrast, a POP or HTTP connection is usually closed as soon as the POP or HTTP request has been serviced.
IMAP and HTTP connections are generally very efficient compared to POP connections. Each POP reconnection requires re-authentication of the user. In contrast, an IMAP connection requires only a single authentication because the connection remains open for the duration of the IMAP session (login to logout). An HTTP connection is short, but the user need not reauthenticate for each connection because multiple connections are allowed for each HTTP session (login to logout). POP connections, therefore, involve much greater performance overhead than IMAP or HTTP connections. Netscape Messaging Server, in particular, has been designed to require very low overhead by open but idle IMAP connections and by multiple HTTP connections.
Besides supporting multiple processes, Messaging Server further improves performance by subdividing its work among multiple threads. The server's use of threads greatly increases execution efficiency, because commands in progress are not holding up the execution of other commands. Threads are created and destroyed, as needed during execution, up to the maximum number you have set.
To reclaim system resources used by connections from unresponsive clients, the IMAP4, POP3, and HTTP protocols permit the server to unilaterally drop connections that have been idle for a certain amount of time.
An HTTP session can persist across multiple connections. HTTP clients are not logged out when a connection is dropped. However, if an HTTP session remains idle for a specified time period, the server will automatically drop the HTTP session and the client is logged out (the default time period is 2 hours). When the session is dropped, the client's session ID becomes invalid and the client must reauthenticate to establish another session. For more information about HTTP security and session ID's, see About HTTP Security.
From Netscape Console, open the Messaging Server you want to configure.
Click the Configuration tab and open the Services folder in the left pane.
Select POP.
Click the System tab in the right pane.
To enable the service, check the box labeled "Enable POP service at port" and assign a port number.
For more information, see Enabling and Disabling Services and Specifying Port Numbers.
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 POP service banner field, specify a service banner.
Click Save.
You can also set values for these attributes at the command line as follows:
configutil -o service.pop.enable -v [ yes | no ]
configutil -o service.pop.port -v number
configutil -o service.pop.maxsessions -v number
configutil -o service.pop.idletimeout -v number
configutil -o service.pop.maxthreads -v number
configutil -o service.pop.numprocesses -v number
configutil -o service.pop.banner -v banner
Select IMAP.
To enable the service, check the box labeled "Enable IMAP service at port" and assign a port number.
If desired, enable anonymous login by checking the "Allow anonymous login" checkbox.
For more information, see Anonymous Login.
If desired, enable password-based login.
For more information, see Password-Based Login.
If desired, in the IMAP service banner field, specify a service banner.
You can also set values for the IMAP attributes at the command line as follows:
configutil -o service.imap.enable -v [ yes | no ]
configutil -o service.imap.port -v number
configutil -o service.imap.enablesslport -v [ yes | no ]
configutil -o service.imap.sslport -v number
configutil -o service.imap.allowanonymouslogin -v [ yes | no ]
configutil -o service.http.plaintextmincipher -v value
configutil -o service.imap.maxsessions -v number
configutil -o service.imap.idletimeout -v number
configutil -o service.imap.maxthreads -v number
configutil -o service.imap.numprocesses -v number
configutil -o service.imap.banner -v banner
Figure 2.1 HTTP Service Components
Select HTTP.
To enable the service, check the box labeled "Enable HTTP service at port" and assign a port number.
For more information, see Password-Based Login
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. Set the maximum idle time for client sessions. For more information, see Logging Out HTTP Clients.
Specify Message settings as follows:
If desired, specify the attachment spool directory. If desired, specify the maximum attachment size.
For more information, see Message Settings.
Specify MTA settings as follows:
If desired, specify an alternate MTA host name.If required, specify an alternate MTA port.
For more information, see MTA Settings.
You can also set values for the HTTP attributes at the command line as follows:
configutil -o service.http.enable -v [ yes | no ]
configutil -o service.http.port -v number
configutil -o service.http.enablesslport -v [ yes | no ]
configutil -o service.http.sslport -v number
configutil -o service.http.allowanonymouslogin -v [ yes | no ]
configutil -o service.http.maxsessions -v number
configutil -o service.http.idletimeout -v number
configutil -o service.http.sessiontimeout -v number
configutil -o service.http.maxthreads -v number
configutil -o service.http.numprocesses -v number
configutil -o service.http.spooldir -v dirpath
configutil -o service.http.maxmessagesize -v size
configutil -o service.http.smtphost -v hostname
configutil -o service.http.smtpport -v portnum
Table 2.1 How to customize the Messenger Express interface
<script src="util.js"></script>
<script>
init('parent')
</script>
Configuring IMAP ServicesGeneral ConfigurationLogin RequirementsPerformance Parameters
Maximum network sessions. In this field, specify how many simultaneous IMAP sessions this server is permitted to maintain per process. (Default = 4000.)
Maximum number of threads per process. In this field, specify the maximum number of threads the IMAP service is permitted to execute at a time. (Default = 250.)
Save. Click this button to save settings you have made in the IMAP System tab.
Configuring POP ServicesGeneral ConfigurationLogin RequirementsPerformance Parameters
Maximum network sessions. In this field, specify how many simultaneous POP sessions per process this server is permitted to maintain. (Default = 600.)
Maximum number of threads per process. In this field, specify the maximum number of threads the POP service is permitted to have executing at a time. (Default = 250.)
Save. Click this button to save settings you have made in the POP System tab.
Configuring HTTP ServicesGeneral ConfigurationLogin RequirementsPerformance Parameters
Maximum network connections per process. In this field, specify how many simultaneous HTTP sessions this server is permitted to maintain per process. (Default = 6000.)
Maximum number of threads per process. In this field, specify the maximum number of threads the HTTP service is permitted to execute at a time. (Default = 250.)
Attachment spool directory. In this field, specify the directory where HTTP attachments are stored.
Alternate MTA hostname. In this field, specify the host name for an alternate MTA.
Save. Click this button to save settings you have made in the HTTP System tab.