diff --git a/mail_config.py b/mail_config.py index 27e9f847dd1454fe71d69a5a743b4a0fa3e2937c..4fba7e937e694446105422b20b77c9e7a38a9db9 100644 --- a/mail_config.py +++ b/mail_config.py @@ -1,5 +1,5 @@ import rabbit_config as rcfg -​ + Info_url = 'https://docs.uabgrid.uab.edu/wiki/Cheaha' Loginwiki_url = 'http://docs.uabgrid.uab.edu/wiki/Cheaha_GettingStarted#Login' Quickstart_url = 'https://docs.uabgrid.uab.edu/wiki/Cheaha_Quick_Start' @@ -9,29 +9,29 @@ Hpcannounce_email = 'HPC-ANNOUNCE@LISTSERV.UAB.EDU' Hpcusers_email = 'HPC-USERS@LISTSERV.UAB.EDU' Signature = 'UAB IT Research Computing' Helpdesk_url = 'https://uabprod.service-now.com/ess_portal/' # Once we get a real helpdesk, change to URL instead of email -​ + Head = f"""From: {rcfg.Sender_alias} <{rcfg.Sender}> To: <{{{{ to }}}}> Reply-to: {rcfg.Support_email} BCC: {rcfg.Admin_email} Subject: {rcfg.Subject} """ -​ + Body = f""" Your account has been created on the Cheaha Super Computer ==================================== User ID: {{{{ username }}}} ==================================== -​ + Important: You are responsible for backing up your files on Cheaha! The following storage locations are available: * $HOME - /home/$USER - 20G quota per user * $USER_DATA - /data/user/$USER - 5TB quota per user * $USER_SCRATCH - /data/scratch/$USER - 500TB shared amongst ALL users -​ + DO NOT compute out of $HOME, all computation must be done on the fast storage that is $USER_DATA and $USER_SCRATCH -​ + Please read the information available on our Wiki pages, especially the Cheaha Quick Start: -​ + Cheaha Quick Start {Quickstart_url} Additional Cluster Login Instructions @@ -40,11 +40,11 @@ Job Queuing information and examples {Queuewiki_url} General information about Cheaha {Info_url} -​ + If you encounter a problem or have any questions, please send a detailed email to: {Support_email} -​ + Open Office Hours: -​ + Visual Brain Core, Mondays 10 AM to Noon: https://uasystem.zoom.us/j/526282301 RC Open Office Hours Wednesdays 1 to 3 PM: https://uab.zoom.us/j/97296139490 RC Open Office Hours Thursdays 10 AM to Noon: https://uab.zoom.us/j/96229651103 @@ -57,9 +57,9 @@ Regards, {Signature} {Helpdesk_url} """ -​ + Whole_mail = Head + Body -​ + UserReportHead = f"""From: {rcfg.Sender_alias} <{rcfg.Sender}> To: <{rcfg.Admin_email}> Subject: RC Account Creation Report: {{{{ fullname }}}}, {{{{ username }}}} """