Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

6.3.4. Configuring the SMTP Server for Email Notifications

Each JBoss ON server talks to a specific SMTP server. The SMTP server is defined in the rhq-server.properties file. The default configuration points to the local JBoss ON server hosts.
# Email
rhq.server.email.smtp-host=localhost
rhq.server.email.smtp-port=25
rhq.server.email.from-address=rhqadmin@localhost
These settings can be edited to use a different SMTP server or email account.

Note

To confirm that the SMTP settings are correct and the server can send emails successfully, go to the test email page at http://server/portal/admin/test/email.jsp.

Table 13. rhq-server.properties Parameters for SMTP

Parameter Description
rhq.server.email.smtp-host Sets the hostname of the SMTP server used by the JBoss ON server.
rhq.server.email.smtp-port Sets the port of the SMTP server used by the JBoss ON server.
rhq.server.email.from-address Sets the address to use for the From header of all emails sent by the JBoss ON server.