Date: Fri, 29 Mar 2024 01:39:08 -0400 (EDT) Message-ID: <862908853.884.1711690748242@prodopencatalystconfluence.catalyst> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_883_992681197.1711690748240" ------=_Part_883_992681197.1711690748240 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
To configure the Data Steward, you must fir= st make sure that you have created a user with Data Steward privileges. To = create a Data Steward, please follow the instructions here:
Chapter 8.2 - Setting up the Data Steward user
Find the steward section in shrine.conf . This section governs how the dat=
a steward application behaves, including its ability to send audit emails t=
o the Data Steward. Set valid email addresses in the 'From' and 'To' fields=
. Set the externalStewardBaseUrl to the URL your Data Steward should use fo=
r the data steward application. (The email contains a link to help her easi=
ly start the audits.)
shrine { ... steward { createTopicsMode =3D Approved //the default is Pending - the most secur= e - but most sites use Approved emailDataSteward { //provide the email address of the shrine node system admin, to handl= e bounces and invalid addresses from =3D "shrine-admin@example.com" //provide the email address of the shrine node system admin, to handl= e bounces and invalid addresses to =3D "shrine-steward@example.com" //provide the externally-reachable URL for the data steward externalStewardBaseUrl =3D "https://shrine.example.com:6443/shrine-ap= i/shrine-steward" } } // end steward ... }
If you wish to not send emails, you can simply switch sendAuditEmai= ls =3D false in this section.
SHRINE by default assumes it can send mail via smtp on localhost port 25= . However, if your tomcat server cannot easily send email you may need to a= dd an email{} section inside of the shrine{} section in shrine.conf. SHRINE= sends emails from postfix on port 25 by default, but uses javaxmail intern= ally. Any valid javaxmail configuration values should work. Here is an exam= ple that uses AWS SES:
shrine { ... email { //add javax mail properties from https://www.tutorialspoint.com/javamai= l_api/javamail_api_smtp_servers.htm here javaxmail { mail { smtp { //for postfix on localhost //host =3D localhost //port =3D 25 //for AWS SES - See http://docs.aws.amazon.com/ses/latest/Develop= erGuide/send-using-smtp-java.html =09=09 //comment out if you want to just use postfix over port 25 host =3D email-smtp.us-east-1.amazonaws.com port =3D 25 transport.protocol =3D smtps auth =3D true starttls.enable =3D true starttls.required =3D true } } } //Must be set for AWS SES. See http://docs.aws.amazon.com/ses/latest/= DeveloperGuide/send-using-smtp-java.html authenticator { username =3D yourSESUsername password =3D yourSESPassword } } } //end email section ... }