Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 Linkage Guide


2.4 Setup for linking mail systems (for a UNIX host)

Linking with a mail system on a UNIX host requires the sendmail function. You must set up an SMTP mail server that has the sendmail function on the host where email sending and email reception monitoring jobs will be run.

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.

Figure 2‒12: Example of a system configuration using mail system linkage

[Figure]

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.

Figure 2‒13: Agent host setup procedures for linking mail systems

[Figure]

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:[Figure]recipient
Subject:[Figure]subject
(Linefeed)
mail-body
. (A line containing only a period indicates the end of data.)
Legend:

[Figure]: 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