2.4 Setup for linking mail systems (for a UNIX host)
For UNIX hosts to link with mail systems, the sendmail mail software is required. On the host on which the email sending job and email reception monitoring job are to be executed, use sendmail to set up an SMTP mail server so that the host can send and receive emails by itself.
You must also set up the host so that it can send and receive emails (mail that complies with RFC822) delivered from the SMTP mail server.
The following figure shows an example of a system configuration that uses mail system linkage.
|
The following figure shows the agent host setup procedures for linking mail systems. Note that you need not set up the manager host for the mail system linkage.
|
If you execute the email sending job, verify that email can normally be sent after the mail server has been set up. When you do this verification, execute the following sendmail command without starting JP1/AJS3:
/usr/lib/sendmail -i -t < file-name
In file-name, specify the name of a text file that is in the following format:
The entry format depends on the version of sendmail used to send emails.
- For a version earlier than 8.14.0:
To:Δrecipient Subject:Δsubject (Linefeed) mail-body . (A line containing only a period indicates the end of data.)
- Legend:
-
Δ: Space
The recipient specification must follow the keyword To:, Cc:, or Bcc:. The first letter of each keyword must be upper case and the other letters must be lower case. A space must be placed between the keyword (To:, Cc:, or Bcc:) and recipient.
The subject line specification must follow the keyword Subject:. The first letter of the keyword must be upper case and the other letters must be lower case. A space must be placed between Subject: and subject.
- For version 8.14.0 or later:
To:recipient Subject:subject (Linefeed) mail-body . (A line containing only a period indicates the end of data.)
The recipient specification must follow the keyword To:, Cc:, or Bcc:. The first letter of each keyword must be upper case and the other letters must be lower case.
The subject line specification must follow the keyword Subject:. The first letter of the keyword must be upper case and the other letters must be lower case.
Unlike the sendmail from versions earlier than 8.14.0, sendmail version 8.14.0 or later does not require you to enter a single-byte space before recipient and subject.
When you execute the sendmail command shown above, make sure the OS user account is the same as the user account used when the email sending job is executed.
The following provides detailed information that is required after the mail server has been set up.
- Organization of this section