On Mon, 13 Jul 2015 12:05:36 -0400, Mark Regan wrote: >Short of using the SMTP/CSSMTP exits, you may want to see if your company >has a *nix based SMTP server that you can forward all your email through. >Then let those SMTP email admins. control what are the valid email domains. >You will, however, not get any feedback to the job with either option. > >One other option is to use Lionel Dyck's XMITIP REXX program instead of >IEBGENER. With XMITIP you can control what domains can be used. > If the user chooses RYO connection to port 25 of whatever server, SMTP exits, XMITIP configuration, and local sendmail configuration are ineffective. Only a built-in firewall in z/OS TCPIP or on the (remote) SMTP server can exercise control.
SMTP servers (not z/OS BSMTP) will return responses including (sometimes intelligible) error messages to the client. It's up to the client to format and display them. There's no technical obstacle to this; merely SMoP. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
