Email Settings

The Email Settings page allows an Administrator to configure an external SMTP or LDAP server to retrieve user notification emails.

SMTP

To use an external SMTP server to replace the localhost system's built-in email utility, select Enable External SMTP Server. Complete the fields for SMTP Host, SMTP Port. Optionally, enter an email address in the Email from field to use for the sender address.

Note: If no External SMTP Server is configured, make sure an email transfer agent such as postfix service is available.

Select SMTP Authentication if you want to use SMTP user authentication and enter the User Name and password to use. If not selected, anonymous authentication will be used.

When you have completed the required fields, select Send Test Email to test the LSF connection to the SMTP server. Also verify that the email address returned is the expected SMTP email address for the current user.
Note: The user that is used for the test email is the user currently logged in. That user must have a valid email configured in order to receive the test email.

When satisfied that the SMTP settings are correct, select Save.

LDAP

To use an LDAP server to retrieve user notification emails, select Enable retrieving users' emails from LDAP. Complete the fields for LDAP Server Host, LDAP Server Port, the User Name property key, User Email property key, and Base DN. Select Use DN Authentication if you want to use DN user authentication and enter the User DN and password. If not selected, anonymous authentication will be used.

When you have completed the required fields, select Test Connection to test the LSF connection to the LDAP server. Also verify that the email address returned is the expected LDAP email address for the current user.

Note: The user that is used for the test email is the user currently logged in. That user must have a valid email configured in order to receive the test email.

When satisfied that the settings are correct, select Save or Save & Sync. Save & Sync will sync all user LDAP email addresses, even for those currently logged in to the system. You are also given the option to maintain or override current email settings for users, if they have email addresses that are different from that in the LDAP directory.

Loading user email addresses without SMTP or LDAP

If you do not use LDAP or have problem loading emails from LDAP you can use a CSV format file to load user email addresses into IBM Spectrum LSF Application Center. For more information, see the Web Service pacclient.py userupd in pacclient.py