Configuration for Email Input Node

Run the following commands at the broker node level and you should be ready to read the emails from the mailbox.

  1. Import root certificates of the mailbox provider
keytool -import -trustcacerts -file certificatePath.cer -keystore truststoreFile -alias certalias

2. Configure HTTPSConnector object to read keystore and truststore

mqsichangeproperties BrokerNode -b httplistener -o HTTPSConnector -n keystoreFile -v keyStorePath
mqsichangeproperties BrokerNode -b httplistener -o HTTPSConnector -n truststoreFile -v trustStorePath
mqsichangeproperties BrokerNode -b httplistener -o HTTPSConnector -n keystorePass -v keyStorePassword
mqsichangeproperties BrokerNode -b httplistener -o HTTPSConnector -n truststorePass -v TrustStorePassword
mqsichangeproperties BrokerNode -b httplistener -o HTTPSConnector -n enableSSLConnector -v true
mqsireportproperties BrokerNode -b httplistener -o HTTPSConnector -a

3. Create security identity and email configuration objects

mqsisetdbparms BrokerNode -n email::securityIdentityObjectName -u mailboxUserid -p mailboxPassword
mqsicreateconfigurableservice BrokerNode -c EmailServer -o emailConfigServiceName -n serverName,securityIdentity -v pop3://test.email.server.ibm.com:12345,securityIdentityObjectName

Leave a comment