Unable to send out an email with attachment if using non-administrator user to submit job.
DUAS can send email normally with Administrator user.
When it fails to send email, we see below messages in universe.log:
| 2018-08-14 16:09:51 |ERROR|X|IO |pid=27755.140471684802304| u_send_mail | ERROR: Cannot open attachment /u02/app/orsyp/DUAS/COMPANY_NODE/temp/XS000000001U000000018_0004242.txt | 2018-08-14 16:09:51 |ERROR|X|IO |pid=27755.140471684802304| NOTIFY_SMTP | [NODE] NOTIFICATION_EMAIL [SEND ERROR 11] / Dollar Univer$e: [Aborted] [SY_TEST_ERR_T] [] [SY_TEST_ERR_U] [NODE] [0004294] [0004242] [] [X]
Release: 6.x
Component: Dollar Universe Application Server (Node)
OS: UNIX
The message [SEND ERROR 11] indicates the file to be attached cannot be found or cannot be accessed.
Please make sure that the Dollar Universe Administrator(ex. univa) is part of the system group of the user who run the job, so that it will have access to the temporary job log in the temp directory.
If you are not sure which user and group are mentioned, please open the /temp folder, you will find the job log file, for example:
/u02/app/orsyp/DUAS/COMPANY_NODE/temp/XS000000001U000000018_0004242.txt
Check the user and group owner of the file, then add the Dollar Universe Administrator user to this group. It will fix the issue.