From f3c542208add1629f3b39b2c3ebf7a1d1e7617aa Mon Sep 17 00:00:00 2001 From: Max Erenberg Date: Sat, 12 Mar 2022 16:09:19 -0500 Subject: [PATCH] send cloud warning emails to root --- ceod/model/MailService.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ceod/model/MailService.py b/ceod/model/MailService.py index 96facb1..8a07d41 100644 --- a/ceod/model/MailService.py +++ b/ceod/model/MailService.py @@ -105,7 +105,8 @@ class MailService: f'{user.cn} <{user.uid}@{self.base_domain}>', { 'Subject': 'Your CSC Cloud account will be deleted', - 'Cc': f'ceo+cloudaccounts@{self.base_domain}', + 'Cc': f'root@{self.base_domain}', + 'Reply-To': f'syscom@{self.base_domain}', }, body, ) @@ -118,7 +119,8 @@ class MailService: f'{user.cn} <{user.uid}@{self.base_domain}>', { 'Subject': 'Your CSC Cloud account has been deleted', - 'Cc': f'ceo+cloudaccounts@{self.base_domain}', + 'Cc': f'root@{self.base_domain}', + 'Reply-To': f'syscom@{self.base_domain}', }, body, )