Technical data

Configuring and Managing SMTP
17.4 Managing SMTP
Table 17–3 (Cont.) SMTP Management Commands
Command Function Required Privilege
SHOW MAIL Displays information about mail
for the specified user.
SYSPRV or BYPASS.
SHOW SERVICE SMTP Displays statistical information
about the SMTP server.
Follows OpenVMS file protection
rules.
START MAIL Starts the SMTP queuing
mechanism.
SYSPRV or BYPASS.
STOP MAIL Stops the SMTP queuing
mechanism.
SYSPRV or BYPASS.
17.4.1 Displaying Mail Queues
To monitor the mail queues, examine the TCPIP$SMTP_LOGFILE.LOG and the
TCPIP$SMTP_RECV_RUN.LOG files.
17.4.2 Changing the Number of Mail Queues
To change the number of SMTP queues, follow these steps:
1. Stop SMTP and MAIL on the root node by entering the following commands:
TCPIP> DISABLE SERVICE SMTP
TCPIP> STOP MAIL
2. Change the SMTP configuration by entering the following command:
TCPIP> SET CONFIGURATION SMTP/QUEUES=new_number
The maximum number of queues set with this command is 10.
3. Restart SMTP and MAIL by entering the following commands:
TCPIP> START MAIL
TCPIP> ENABLE SERVICE SMTP
17.4.3 Displaying SMTP Routing Information
To display SMTP routing information, use the SHOW MX_RECORDS command.
If you omit destination from the command line, you see the entries in the local
MX database.
If you specify destination, you see all the entries in all the databases that the
SMTP mailer would look at, if necessary, to route mail to the destination. The
local MX database and the DNS MX database are usually as far as TCP/IP
Services needs to search.
17.4.4 SMTP Logging
SMTP logs mail queue and mail symbiont events to the following files:
TCPIP$SMTP_LOGFILE.LOG
TCPIP$SMTP_RECV_RUN.LOG
The symbiont and receiver contain a feature called snapshot logging, which
allows you to run with full diagnostics enabled but to write the diagnostics to
the log file only if an error is signaled. This feature saves disk space and allows
the receiver or the symbiont, or both, to run at a normal speed. As each line of
diagnostic text is generated, it is saved in an internal snapshot buffer rather than
to the disk. The buffer is circular in that once it fills up, new lines of text start
Configuring and Managing SMTP 17–9