I'm working on replacing SMTPD with the recommended direction to IBM CSSMTP.
Initially when I generated a test email alert I got this - GSVX998E (CAPTURE.GSVVCAPI) SMTP002E Failed to connect to server 10.1.1.14 port 25 RC=0000000C
This was the IP and PORT that SMPTD used after I made this change - BROWSE SYS5.SYSVIEW.R15.CNM4BPRM(OPTIONS)
Command ===> *SMTP-Hostname 10.1.1.14 SMTP-Hostname 10.1.38.65 SMTP-Port 25
The alert comes through but does not appear to be going through CSSMTP.
Is there possibly anything else that would need to change?
I have a batch job that generates an email and I can see that going through CSSMTP in its logfile with level=31
Essentially SYSVIEW is an SMTP client application that generates email, in the same way that SMTPD or CSSMTP are client applications that generate email. SYSVIEW has no real reliance on the SMTPD or CSSMTP NJE Mail Gateway on a z/OS system.
This IBM doc says in z/OS 2.2 and lower the local SMTPD NJE Mail Gateway contained Listener support, which could be used for forwarding mail to other destinations:
It sounds like your original OPTIONS parmlib definitions of:had it going to SMTPD, making use of the SMTP server function in SMTPD which then forwarded it on.
As hinted at in the above link, and stated in the following link, CSSMTP does not contain this server function and does not provide SMTP listener support:
In the end the SYSVIEW OPTIONS parms must point to a valid mail server reachable from the local system, which sounds like what you've changed it to be now.
But even before there was no SYSVIEW requirement for it to be where SMTPD was listening.