Technical data
Configuring and Managing SMTP
17.5 Modifying the SMTP Configuration
For example, to enable message logging for messages received from SMTP clients,
define the TCPIP$SMTP_RECV_TRACE as follows:
$ DEFINE/SYSTEM TCPIP$SMTP_RECV_TRACE 1
Other logical names require that you supply a value. For example, to enable
logging that provides information about symbiont activity during control file
processing, define the logical name TCPIP$SMTP_LOG_LEVEL with a value of 3.
For example:
$ DEFINE/SYSTEM TCPIP$SMTP_LOG_LEVEL 3
When you redefine the value of a logical, you must restart SMTP using the
STOP MAIL and START MAIL commands. Use the following files to store logical
settings:
• SYS$STARTUP:TCPIP$SMTP_SYSTARTUP.COM
• SYS$STARTUP:TCPIP$SMTP_SYSHUTDOWN.COM
The following descriptions indicate where a value is required.
Note
Define the SMTP configuration logical names as /SYSTEM except where
noted.
• TCPIP$SMTP_LOG_LEVEL value
Writes diagnostic information to the log file. Valid numeric values are:
Value 2 Enables logging of all information when the symbiont starts up.
The
Next Open File
message is printed, giving the name of each
control file before processing begins. All mail headers and mail
recipients in a control file are logged after control file processing is
complete.
Value 3 Provides additional information about symbiont initialization and activity
during control file processing.
Value 5 Enables full symbiont diagnostics. For use only under the advice of
Compaq’s customer support.
• TCPIP$SMTP_NOSEY
Used with TCPIP$SMTP_LOG_LEVEL to print the full subject RFC headers
information. If not defined, the header is logged as
SUBJECT:<omitted>
.
• TCPIP$SMTP_LOG_LINE_NUMBERS
Writes line numbers to SMTP logs. Includes the symbiont, receiver, and
MAIL$PROTOCOL (DEBUG.TXT) logs.
• TCPIP$SMTP_SYMB_TRACE
Logs all messages received from and transmitted to remote SMTP servers.
Used to trace the SMTP application layer protocol. Any nonprinting
characters or control characters that are sent or received are printed as
\n
,
where n is the hexadecimal value of the character. For example, command
lines and replies are terminated with a
<CR><LF>
that appear in the log file
as follows:
send buf=MAIL FROM:<jones@acme.com>\d\a
recv buf=250 <jones@acme.com>... Sender OK\d\a
Configuring and Managing SMTP 17–11