How to change the mail from used by SPM SMTP tests with SystemEDGE?

Document ID : KB000011745
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

On SystemEDGE Test Host, you may create SMTP tests.

By default, to test the SMTP server, the SystemEDGE agent send an email FROM "service_availability@hostname" where "hostname" is the hostname of the SystemEDGE test host agent TO the email address you define in "User Name" on SMTP test parameter page in OneClick.

You may change the domain to something different than the SystemEDGE test host hostname.

This technical document explain the steps for this.

 

Question:

How to change the sender's domain (FROM address) on SPM SMTP tests?

 

Environment:
CA Spectrum 10.1.1Windows 2012CA SystemEDGE 5.9
Answer:

The steps are as follow:

  1. From OneClick edit the SMTP test.

oneclick.png

2. The "User Name" is "test@ca.com" and the SystemEDGE hostname is winsysedge. To test the SMTP server (192.168.8.106) an email will be sent TO "test@ca.com" and by default the email FROM address will be "service_availability@winsysedge"

edit1.png

3. In this example, we will change the domain name of the FROM address, from "service_availability@winsysedge" to "service_availability@ca.com". For this, we need to add to the  "User Name" field: "&shost=ca.com". That way, "User Name" changes from "test@ca.com" to "test@ca.com&shost=ca.com". What you put after "&shost=" will be the new domain name of the email FROM address used by the SystemEDGE agent.

edit2.png

4. Save to apply the changes.

5. Once the changes are applied, the svcrsp.cf file in SystemEDGE host will be changed to add the new configuration.

 

 

Additional Information: