[an error occurred while processing this directive]
HP OpenVMS Systems Documentation |
>
Compaq TCP/IP Services for OpenVMS
|
Previous | Contents |
The whois is available in this release, but no Help file is available. To define the whois command, enter the following command:
$ whois :== $SYS$SYSTEM:TCPIP$WHOIS.EXE |
The whois utility looks up user, host, and organization names in the Network Information Center (NIC) database.
The syntax for the whois command is as follows:
$ whois [-h server] |
The -h option allows you to specify a whois server other than the default ( rs.internic.net ).
The server name can specify any of the following:
The operands specified for the whois command are concatenated together (separated by spaces) and presented to the whois server. The default action, unless directed otherwise with a special name, is to do a very broad search, looking for matches to name in all types of records and most fields (such as name, nicknames, host name, and network address) in the database.
For example:
$ whois osf.org Open Software Foundation (OSF-DOM) 11 Cambridge Center Cambridge, MA 02142 Domain Name: OSF.ORG . . . |
The information in the Compaq TCP/IP Services for OpenVMS Guide to IPv6 should be updated with the information in Appendix D.
The IMAP Server for OpenVMS Mail and the Simple Mail Transfer Protocol (SMTP) server software work together to provide reliable mail management in a client/server environment.
The IMAP Server allows users to access their OpenVMS Mail mailboxes by clients such as Microsoft Outlook so that they can view, move, copy and delete messages. The SMTP Server provides the extra functionality of allowing the clients to create and send e-mail messages.
After the IMAP Server is enabled on your system, you can modify the default characteristics by editing the configuration file (described in Section A.2.3).
This chapter reviews key IMAP concepts and describes:
IMAP stands for Internet Message Access Protocol. The IMAP Server allows users to access their OpenVMS Mail mailboxes by clients communicating with the IMAP4 protocol as defined in RFC 2060. The supported clients used to access e-mail are PC clients running Microsoft Outlook or Netscape Communicator.
The IMAP server is by default assigned port number 143, and all IMAP client connections are made to this port.
The following sections review the IMAP process and describe how the
TCP/IP Services software implements IMAP. If you are not familiar with
IMAP, refer to RFC 2060 or introductory IMAP documentation for more
information.
A.1.1 IMAP Server Process
The IMAP Server is installed with SYSPRV, BYPASS, DETACH, SYSLCK, SYSNAM, NETMBX, and TMPMBX privileges. It runs in the TCPIP$IMAP account, which receives the correct quotas from the TCPIP$CONFIG procedure. The IMAP Server is invoked by the auxiliary server.
The IMAP Server uses security features provided in the protocol and in the OpenVMS operating system, as well as additional security measures. These methods provide a secure process that minimizes the possibility of inappropriate access to a user's mail file on the served system.
You can modify the IMAP Server default characteristics and implement
new characteristics by defining the configuration options described in
Section A.2.3.
A.1.2 How to Access Mail Messages from the IMAP Server
The only client configuration that is required is in the user's IMAP
client, (see Section A.1.2.1). Additional optional configuration settings
can be made in the OpenVMS Mail utility (see Section A.1.2.2).
A.1.2.1 IMAP Client Configuration
To access mail messages from the IMAP Server, you configure a user name and password into your client mail application. If an account is accessible without a password and a password is provided, the password is ignored.
In OpenVMS Mail, a user's mailbox file is, by default, named MAIL.MAI and is resident in the user's default OpenVMS directory. In this simple and typical case, the user name to be configured is the user's OpenVMS account name.
An OpenVMS Mail user is allowed to have many mail files; a special syntax for the user name is defined so that the user can specify the set of mail files to be opened. This syntax is the user's OpenVMS account name followed by a percent sign and then partial file specifications of the mail files, each separated by a percent sign. Note the following:
In the following example, user SMITH has three mail files in a mail directory. One is the user's default MAIL.MAI file, and the others are ACCOUNTS.MAI and PRIVATE.MAI. The user name would be configured in the IMAP client as:
SMITH%ACCOUNTS%PRIVATE |
Your client system opens the TCP connection and attempts to access the server by entering the IMAP LOGIN command with the configured user name and password. On successful connection, the user's mail files are the top level of mailboxes; so, in the preceding example, the mailboxes displayed will be Mail, Accounts, and Private. Unsuccessful attempts are logged in the event log file (see Section A.2.2).
Once an OpenVMS Mail user has successfully connected to the IMAP Server, a file called tcpip$imap_mailbox.dat will have been created in the user's OpenVMS mail directory. This file is a text file and has a record of the mailbox files specified by the user. The file contains a newline separated list of partial file specifications (completed by each user's mail directory and the .MAI suffix)
As a result of this, the following possibilities exist:
Table A-1 describes the how the IMAP Server is affected by the settings of the OpenVMS Mail SET options.
Option | Description |
---|---|
AUTO_PURGE |
IMAP clients have their own purge command, often called Compact or
Compress. When a message is purged from a non-Wastebasket mailbox, it
is put in the OpenVMS Mail Wastebasket. If the Wastebasket itself is
purged, the messages are permanently deleted (equivalent to OpenVMS
Mail PURGE), and disk space is then reclaimed as soon as the IMAP
client disconnects. This occurs regardless of the AUTO_PURGE setting,
which has no affect for an IMAP client.
Any messages that are permanently deleted by an IMAP client will briefly appear in the user's Wastebasket but those messages will not be visible from the IMAP client and will be purged each time a client disconnects from that mail file. |
CC_PROMPT | Not applicable. |
COPY_SELF | Not applicable. |
EDITOR | Not applicable. |
FILE | Not used. Instead the user can configure all mail files to be available simultaneously by the setting of the user name in the IMAP client configuration, as described in Section A.1.2.1. Note that it is not possible to copy or move messages between different mail files. |
FOLDER | Not applicable. |
FORM | Not applicable. |
FORWARD | This is not applicable to the IMAP Server, but setting a forwarding address results in messages being forwarded by OpenVMS Mail before being seen by the IMAP Server. |
MAIL_DIRECTORY | This setting is respected. The directory, with an extension of .MAI, forms the partial file specification used to complete the file names of mail files using the values supplied as part of the user name in the IMAP client configuration. See Section A.1.2.1 for details. |
PERSONAL_NAME | Not applicable. |
QUEUE | Not applicable. |
SIGNATURE_FILE | Not applicable. |
WASTEBASKET_NAME | This setting is respected. This folder is always displayed by the IMAP client, even if it is currently empty. |
OpenVMS Mail folders are presented to the IMAP client as IMAP mailboxes. All mailboxes are presented to the client in lowercase characters, beginning with an initial capital letter, and with capital letters following each space, at sign (@), opening parenthesis ( "(" ), underscore (_), and hyphen (-).
The NEWMAIL folder requires special treatment . Because the IMAP protocol requires a top-level mailbox called Inbox, the NEWMAIL folder is mapped to Inbox. When the user opens the mailbox called Mail (which maps to file MAIL.MAI), the NEWMAIL folder is not listed so that the user is not confused by seeing the same folder listed twice.
OpenVMS Mail folder names are usually in all uppercase characters but can contain lowercase characters. Any lowercase characters are mapped to an underscore (_) followed by the character's uppercase equivalent. Underscores are mapped to double underscores (__), and dollar signs are mapped to double dollar signs ($$).
Table A-2 shows effects of folder-name mappin