Hitachi

JP1 Version 12 Integrated Management: Getting Started


A.1 Setting up the email notification function (Windows only)

The email notification function provided by JP1/IM - Manager uses the JP1/IM - Manager jimmail command to send emails. This manual describes how to specify the settings for using the email notification function to send emails.

Organization of this subsection

(1) Settings of the email environment definition file to be created

The following provides the detailed settings of the email environment definition file that will be created in A.1 (2) Creating an email environment definition file and setting up the email notification function (Windows only).

Specification details for the email environment definition file

Specification

Target setting

Description

From=jp1_xxx@yyy.jp

Source email address

Specifies the source email address in the range of 1 to 256 bytes. Specify only one address.

You can use the following characters:

  • Alphanumeric characters (0-9 and a-z)

  • At mark (@)

  • Period (.)

  • Hyphen (-)

  • Underscore (_)

SmtpServer=host-name-or-IP-address-of-the-SMTP-server

Host name or IP address of the SMTP server

Specifies the host name or IP address of the SMTP server that is connected for sending email. IP addresses are supported only for IPv4. You can specify only one SMTP server.

AuthMethod=SMTP

Authentication method when sending an email

Specifies the authentication method used on the mail server when sending an email. NONE: No authentication

  • POP: POP before SMTP authentication

  • SMTP: SMTP-AUTH authentication (LOGIN/PLAIN)

The default is NONE.

AuthUser=authentication-account-name

Authentication account name used for POP before SMTP authentication or SMTP-AUTH authentication

Specifies the authentication account name used for POP before SMTP authentication or SMTP-AUTH authentication.

You can use a string of 1 to 255 bytes.

The default is a null character ("").

(2) Creating an email environment definition file and setting up the email notification function (Windows only)

To customize the settings of the email notification function, you need to set up the email environment definition file. This manual describes how to specify the settings required for connecting the mail server by using SMTP-AUTH authentication.

Prerequisites

The following conditions must be satisfied:

Procedure

  1. Use a text editor to open the email environment definition file.

    Console-path\conf\mail\jimmail.conf

  2. In the email environment definition file, specify the following items:

    • From

      From=jp1_xxx@yyy.jp

    • SmtpServer

      SmtpServer=host-name-or-IP-address-of-the-SMTP-server

    • AuthMethod

      AuthMethod=SMTP

    • AuthUser

      AuthUser=authentication-account-name

  3. Execute the following jimmailpasswd command to set the authentication password:

    "Console-path\bin\jimmailpasswd" -p authentication-password

  4. Set up the communication environment.

    • Name resolution for the mail server host

      Set up the jp1hosts, jp1hosts2, and hosts files and DNS so that the SMTP server name and POP3 server name can be resolved.

    • Firewall settings

      Set up a firewall to allow SMTP/POP3 communication between the jimmail command and the mail server.

Related Topics