Technical data

Configuring and Managing SMTP
17.7 Managing SMTP Send-From-File (SFF)
log_level
Specifies the debug log level: either 1 (on) or 0 (off). The default is 0 (no
logging). This parameter is optional.
17.8 Disabling SMTP Outbound Alias
Users can specify an outbound alias that is applied to mail as it is sent and
specifies the network address to which a reply will be sent. The outbound alias is
defined using the TCPIP$SMTP_FROM logical, as described in Section 17.5.
To disable outbound alias processing (prevent the use of the TCPIP$SMTP_FROM
logical), define the following system logical:
$ DEFINE/SYSTEM TCPIP$SMTP_PROHIBIT_USER_HEADERS 1
17.9 Solving SMTP Problems
To isolate an SMTP problem, follow these steps:
1. Check the directory SYS$SPECIFIC:[TCPIP$SMTP] for the following log
files:
TCPIP$SMTP_LOGFILE.LOG
This log file monitors queue activity.
TCPIP$SMTP_RECV_LOGFILE.LOG
This log file is created with every message received.
Purge the directory regularly.
2. Use the TCPIP$SMTP_LOG_LEVEL logical, as described in Section 17.5.
3. Check the mail in the TCPIP$SMTP account.
Forward TCPIP$SMTP mail to the SYSTEM account for monitoring. By
default, remote login to TCPIP$SMTP is not allowed.
4. Check the directory SYS$SPECIFIC:[TCPIP$SMTP] for lost mail.
If an incoming mail message was undeliverable and the error message was
also undeliverable, the SMTP control file is left in this directory, not in the
queue.
5. Check the consistency of the SMTP queues against the directories with the
SMTP utility files.
Enter the ANALYZE MAIL command (see Section 17.9.1).
17.9.1 Verifying SMTP Control Files
Use the ANALYZE MAIL command to verify the correspondence of the SMTP
queues with SMTP control files. This command does the following:
Checks that all the current entries in the SMTP queues have a supporting
control file in the mail directory of a user. You can specify a user or analyze
the mail of all users.
Checks that there are no lost control files in the SMTP working directory.
The /DELETE qualifier deletes each control file lacking a corresponding queue
entry.
17–28 Configuring and Managing SMTP