You may be able to utilize the "Undeliverable" feature in the CSSSMTP Config setup. You can specify the action to take (store or delete) on a dead letter and a unix directory to store it in.
David -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Sasso, Len Sent: Friday, August 28, 2020 6:58 AM To: [email protected] Subject: Re: Sending email from the Mainframe Does anyone have JCL that sends an email, using CSSMTP, from the Mainframe and if it is unable to be delivered, for any reason, sends an email back to the Sender with a corresponding message? Thank You and Please Be Safe! Len Sasso Systems Administrator Senior CSRA, A General Dynamics Information Technology Company 327 Columbia TPKE Rensselaer, NY 12144 Office Hours: M-F 7 AM - 3:45 PM Out-Of-Office: Friday, August 28, 2020 Noon - 3:45 PM Phone: (518) 257-4209 Cell: (518) 894-0879 Fax: (518) 257-4300 [email protected] URL: https://protect2.fireeye.com/v1/url?k=d6ec75ce-8aadedc4-d6eeb904-0cc47a6d17ce-a101fbc807c29bfb&q=1&e=755c3fc4-a8e5-4af5-b36f-63034689dc4b&u=http%3A%2F%2Fwww.gdit.com%2F<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.gdit.com&d=DwIFAw&c=GSntNbUav5AC0JJIyPOufmfQT3u3zI7UKdoVzPd-7og&r=tIdjUplbIRGr4vkhlZCB7B_ivXjfG-CqQQpihq7_n5M&m=A3jH5NdknLIxIZ4iLhDO1ytRnN9_5HaAKpTTN1skTwU&s=eI5UbwvjxzRAFIvz4k92mpp_x_wDiI4uvQ3k-gW9uKs&e= > ________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Timothy Sipples <[email protected]> Sent: Friday, July 24, 2020 5:56 AM To: [email protected] <[email protected]> Subject: Re: Sending email from the Mainframe [External: Use caution with links & attachments] Grant Taylor asks: >What happens to email if CSSMTP (AT-TLS) is configured to *require* >encryption and the receiving system doesn't support encryption? Fundamentally the same thing(s) that happen when the network connection is down or too slow (times out), for whatever reasons. Network encryption is part and parcel of the network path. This class of failures must already be catered for. In this case, Len Sasso's organization is mandating TLS 1.2+, and I agree with Shmuel Metz who wrote: >If management has decreed that all SMTP traffic be encrypted, then >barring a configuration error the relay will accept encrypted traffic. Moreover, it's entirely possible that your attitude would only increase relay administrators' burdens, the people who currently have to manage, support, monitor, and audit the e-mail traffic from the one and only system still transmitting over an unencrypted connection, a connection modality they'd very much like to retire as quickly as possible. You know, that "old, obsolete mainframe" that you're actively arguing should actually be as old and obsolete as you can possibly force it to be. (TLS is *really* not new.) Or it's entirely possible that the relay administrators aren't inclined or equipped to provide even mediocre service levels for unencrypted connections, or even that there's a lone dedicated relay gathering dust in a wiring closet somewhere to support this one unencrypted connection, a relay that nobody left in the organization even understands or really knows about, that isn't backed up or DR protected, that still runs on a 10 Mbps Ethernet segment that miraculously hasn't been disconnected yet. Hence the unencrypted connection is MORE prone to failure, not less. All very possible, even predictable and likely. And I haven't even gotten to the regulatory issues and penalties. Conceivably you could also reduce or eliminate your personal security authentication failure planning and handling (hopefully automated) responsibilities if you effectively disable your SAF security provider, such as RACF. Then those few pesky authentication and authorization rejections wouldn't occur, and everyone could just go to the pub and stay there (or whatever). That's the logical consequence of your argument, isn't it? I don't think you've got a strong argument. Sorry to be blunt here, but I feel compelled to offer my personal view (as always). My colleagues (and I mean that word expansively, in and out of IBM) work really hard to deliver and support truly cutting edge capabilities, including downright amazing security capabilities, in/for this unique and indispensable platform. And this community, overall, often works really hard to put these capabilities into practice, in many cases literally to keep civilization functioning. Then there are a few people who manage a few of these systems, and...well, let's all strive to do better, OK? [Why am I expecting a minor Twitter storm now? :-)] - - - - - - - - - - Timothy Sipples I.T. Architect Executive Digital Asset & Other Industry Solutions IBM Z & LinuxONE - - - - - - - - - - E-Mail: [email protected] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
