Previous Topic: Configure SMTP Settings

Next Topic: Configure SMTP Settings on WebLogic 9.2

Configure SMTP Settings on JBoss

To configure SMTP settings

  1. In a text editor, open the mail service deployment descriptor as follows:
    jboss_home\server\default\deploy\mail-service.xml
    
  2. Modify the mail.smtp.host property with the name of your SMTP server as follows:
    <-- Change to the SMTP gateway server -->
    <property name="mail.smtp.host" value="your_smtp_server "/>
    

    For example:

    <property name="mail.smtp.host" value="smtp.mailserver.company.com"/>
    
  3. Save the mail-service.xml file.
  4. In a text editor, open the following email properties file:

    jboss_home\server\default\deploy\Identity Manager.ear\config\com\netegrity\config\email.properties

  5. To set the email return address used by workflow generated email, locate the admin.email.address property and set the value to the appropriate email address. For example:
    admin.email.address=admin@company.com
    
  6. If you are using the email template method, enable email notifications in the Management Console.

    You do not need to enable email notifications in the Management Console if you are using email notification policies.

Note: If you plan to install multiple ears under the same instance of JBoss, create a copy of jboss_home\server\default\deploy\mail-service.xml named application_id_mail-service.xml, change the mbean name to application_id-Mail, and change <attribute name="JNDIName">java:/Mail</attribute> to <attribute name="JNDIName">java:iam/application_id/mail/Mail</attribute>.