Job Management Partner 1/Automatic Job Management System 3 Command Reference 2
Format
jpomailrecv
-u monitor-user-name
[-t retry-timeout-period]
Description
Sets the email distribution feature that acquires mail using the alias of the SMTP mail server, creates an email file specific to mail reception monitoring, and then controls exclusive lock.
Execution privileges
None
Arguments
-u monitor-user-name
Specify the user name specified for UserName in the event/action execution environment settings file (EVAction.conf).
You can specify 1 to 256 characters (bytes).
-t retry-timeout-period
Specify the retry timeout period for editing when the email file that you have attempted to edit is locked.
You can specify 1 to 1,440 (minutes). If you omit this option, the system assumes an unlimited number of retries.
Notes
- Make sure that the user name specified for the -u option is also specified for UserName in the event/action execution environment settings file (EVAction.conf). Before you execute the jpomailrecv command, execute the jbssetcnf command to apply the settings in the event/action execution environment settings file (EVAction.conf) to the system. For details on the jbssetcnf command, see the Job Management Partner 1/Base User's Guide.
- If an error occurs during command execution or if edit retry is timed out, the received email is returned to the sender (except for the case where the locked file cannot be deleted).
- Code this command in the alias file and start it from the SMTP mail server. The system does not guarantee the operation of this command if it is started manually.
- When coding this command in the alias file, enclose it in double quotation marks (").
Example 1
The jpomailrecv command in this example specifies UserName of the event/action execution environment settings file (EVAction.conf) as mailuser and sets the retry timeout period to 10 minutes.
mailuser:"|/opt/jp1ajs2/bin/jpomailrecv -u mailuser -t 10"
Example 2
For the jpomailrecv command in this example, retry attempts do not time out when user1 is specified for UserName in the event/action execution environment settings file (EVAction.conf).
user1:user1,"|/opt/jp1ajs2/bin/jpomailrecv -u user1"
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.