DOYENSYS Knowledge Portal




We Welcome you to visit our DOYENSYS KNOWLEDGE PORTAL : Doyensys Knowledge Portal




Sunday, May 6, 2018



Environment :

Red Hat JBoss Operations Network (ON)
2.3
2.4
3.1
3.2
3.3

Issue :

Not able to send mail through JON server.

Solution :

The SMTP properties are configured in $JON_SERVER/bin/rhq-server.properties with the rhq.server.email.* properties:

By default the rhq-server.properties file has the below parameters and we need to change as per our environment

# Email settings used to connect to an SMTP server to send alert emails.
rhq.server.email.smtp-host=<SMTP Server Address>
rhq.server.email.smtp-port=<SMTP Server Port#>     <-- Default Port# 25
rhq.server.email.from-address=rhqadmin@localhost

After configuring the properties the JBoss ON Server must be restarted.

For JBoss ON versions prior to 3.2, the following document: How can I confirm my server's email/SMTP settings are correct? describes how to test the email settings.

For JBoss ON 3.2 and 3.3 confirm server's email/SMTP settings are correct use below link:

http://<JON-IP/hostname>:7080/coregui/#Test/ServerAccess/EmailTest

Note: 550 is the SMTP reply code for "mailbox unavailable".

Diagnostic Steps

If it still does not work, enable DEBUG to org.jboss.as.mail for more verbose logging.

No comments: