Please note that the "From" field has to be an email address (it can be the same as "To:" field). Otherwise, it may fail with a generic error:
Beginning post-processing of request 32163793 on node CM_host_name at 11-JUL-2017 12:10:11.
Post-processing of request 32163793 failed at 11-JUL-2017 12:10:12 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
Three configuration steps before the email will be delivered. Note this is not related to Workflow Mailer. When Mailer is down, concurrent job can still deliver Output to email box.
1. Test SMTP on concurrent node. If SMTP works on the node, it shall deliver an email to yourID@outlook_name.com mailbox. Below test was on RH Linux 6:
$ mail -v yourID@outlook_name.com
Subject: hi
Hello world
done
. <-- dot is very important
EOT
Mail Delivery Status Report will be mailed to <xxxxxx>.
2. Ask Linux Admin to confirm that port 25 is used for SMTP on the node
[root@CM_host_name ~]# lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
master 6656 root 12u IPv4 18028 0t0 TCP localhost:smtp (LISTEN)
master 6656 root 13u IPv6 18029 0t0 TCP localhost:smtp (LISTEN)
[root@CM_host_name ~]# ps -ef|grep 6656
root 6656 1 0 May01 ? 00:00:12 /usr/libexec/postfix/master
postfix 6663 6656 0 May01 ? 00:00:02 qmgr -l -t fifo -u
postfix 87114 6656 0 09:32 ? 00:00:00 pickup -l -t fifo -u
3. Setup SMTP in EBS
a. As System Administrator responsibility, navigate to Profile => System
b. Query the %fnd%smtp% profiles
c. Set the following profile values
FND: SMTP Host (CM_host_name or IP)
FND: SMTP Port (port number, default 25)
Troubleshooting: Even after about 3 steps worked, the Output was still not delivered to email box. The errors in OPP files under $APPLCSF/log:
[6/16/17 12:41:39 PM]
[253931:RT31303430] Beginning email delivery
[6/16/17 12:41:39 PM]
[UNEXPECTED] [253931:RT31303430] javax.mail.MessagingException: Could not
connect to SMTP host: CM_host_name, port: 25;nested exception is:
java.net.ConnectException: Connection refused
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1213)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)
at javax.mail.Service.connect(Service.java:233)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
at oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler.submitReques(SMTPDeliveryRequestHandler.java:781)
at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submi(AbstractDeliveryRequest.java:1270)
at oracle.apps.fnd.cp.opp.EmailDeliveryProcessor.deliver(EmailDeliveryProcessor.java:98)
at oracle.apps.fnd.cp.opp.DeliveryProcessor.process(DeliveryProcessor.java:91)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
[6/16/17 12:41:39 PM] [253931:RT31303430] Completed post-processing actions for request 31303430.
It was fixed after Linux Admin replaced localhost in postfix configuration since EBS uses CM_host_name as mailserver.
/etc/postfix/main.cf
#change from localhost to all
inet_interfaces = all
#inet_interfaces = localhost
[root@CM_host_name ~]# lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
master 6632 root 12u IPv4 197167 0t0 TCP *:smtp (LISTEN)
master 6632 root 13u IPv6 197168 0t0 TCP *:smtp (LISTEN)
No comments:
Post a Comment