Hi, I have configured a configdropin/override on liberty of IBM Content Navigator, part of CP4BA deployment, on OpenShift (fyre install).
The override is something like this:
<server>
<mailSession mailSessionID="CNMailSession"
jndiName="mail/CNMailSession"
description="ICN Mail Session"
storeProtocol="imap"
transportProtocol="smtp"
host="smtp.sendgrid.net"
user="mailadmin"
password="password"
from="MailAdmin@domain.com">
<property name="mail.smtp.host" value="smtp.sendgrid.net" />
<property name="mail.smtp.port" value="465" />
<property name="mail.smtp.auth" value="true" />
<property name="mail.smtp.ssl.enable" value="true" />
</mailSession>
</server>
from the following link
https://www.ibm.com/support/pages/ibm-content-navigator-configuring-send-mail-container-environmentParameter values in here are fake ones, however I tested them on an traditional WAS with my mail settings and everything was fine.
I was able to send a mail via Content Navigator of containerized CP4BA install.
However I always get the following error in the containerized liberty of Content Navigator:
messages.log:javax.naming.NameNotFoundException: Intermediate context does not exist: mail/CNMailSession.
Moreover, if I have to send via TLS, how do I inject signer certificates inside the containerized liberty of Content Navigator?
Thanks, regards
(edited) ------------------------------
Leonardo Modeo
------------------------------