Below are the RACF commands to configure SendMail:
ADDGROUP SMMSPGRP OMVS(GID(25))
ADDGROUP SNDMGRP OMVS(GID(26))
ADDUSER MAILNULL DFLTGRP(SNDMGRP) NOPASSWORD OMVS(UID(26) HOME(’/’))
ADDUSER SENDMAIL DFLTGRP(SNDMGRP) NOPASSWORD OMVS(UID(0) HOME(’/’))
ADDUSER SMMSP DFLTGRP(SMMSPGRP) NOPASSWORD OMVS(UID(25) HOME(’/’))
RDEFINE STARTED SENDMAIL.* STDATA(USER(SENDMAIL))
SETROPTS RACLIST(STARTED) REFRESH
PERMIT BPX.DAEMON CLASS(FACILITY) ID(SENDMAIL) ACCESS(READ)
SETROPTS RACLIST(FACILITY) REFRESH
Below are the RACF commands with the Top secret equivalents:
ADDGROUP SMMSPGRP OMVS(GID(25))
*TSS CREATE(SMMSPGRP) TYPE(GROUP) NAME(‘SMMSP GROUP’) DEPT(dept)
*TSS ADD(SMMSPGRP) GID(25)
ADDGROUP SNDMGRP OMVS(GID(26))
*TSS CREATE(SNDMGRP) TYPE(GROUP) NAME(‘SNDM GROUP’) DEPT(dept)
*TSS ADD(SNDMGRP) GID(26)
ADDUSER MAILNULL DFLTGRP(SNDMGRP) NOPASSWORD OMVS(UID(26) HOME(’/’))
*TSS CRE(MAILNULL) TYPE(USER) PASS(xxxx,0) NAME('MAILNULL USER') DEPT(dept)
*TSS ADD(MAILNULL) UID(26) GROUP(SNDMGRP) DFLTGRP(SNDMGRP) HOME(/)
ADDUSER SENDMAIL DFLTGRP(SNDMGRP) NOPASSWORD OMVS(UID(0) HOME(’/’))
*TSS CRE(SENDMAIL) TYPE(USER) PASS(xxxx,0) NAME('SENDMAIL USER') DEPT(dept)
*TSS ADD(SENDMAIL) UID(0) GROUP(SNDMGRP) DFLTGRP(SNDMGRP) HOME(/)
ADDUSER SMMSP DFLTGRP(SMMSPGRP) NOPASSWORD OMVS(UID(25) HOME(’/’))
*TSS CRE(SMMSP) TYPE(USER) PASS(xxxx,0) NAME('SMMSP USER') DEPT(dept)
*TSS ADD(SMMSP) UID(25) GROUP(SMMSPGRP) DFLTGRP(SMMSPGRP) HOME(/)
RDEFINE STARTED SENDMAIL.* STDATA(USER(SENDMAIL))
*TSS ADD(STC) PROCNAME(SENDMAIL) ACID(SENDMAIL)
SETROPTS RACLIST(STARTED) REFRESH
**NO TSS EQUIVALENT/NOTHING NEEDED**
PERMIT BPX.DAEMON CLASS(FACILITY) ID(SENDMAIL) ACCESS(READ)
*TSS PERMIT(SENDMAIL) IBMFAC(BPX.DAEMON) ACCESS(READ)
SETROPTS RACLIST(FACILITY) REFRESH
**NO TSS EQUIVALENT/NOTHING NEEDED**