From 460f8c534c63e20d595a294409d84f59259e7136 Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 5 Mar 2008 09:43:05 +0000 Subject: [PATCH] simple patch for redirecting pl-mom notification to the right mailing list --- bwmon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bwmon.py b/bwmon.py index da63fc0..ec8c552 100644 --- a/bwmon.py +++ b/bwmon.py @@ -133,9 +133,11 @@ def slicemail(slice, subject, body): sendmail = os.popen("/usr/sbin/sendmail -N never -t -f%s" % PLC_MAIL_SUPPORT_ADDRESS, "w") - # PLC has a separate list for pl_mom messages + # PLC and PLE has a separate list for pl_mom messages if PLC_MAIL_SUPPORT_ADDRESS == "support@planet-lab.org": to = ["pl-mom@planet-lab.org"] + elif PLC_MAIL_SUPPORT_ADDRESS == "support@planet-lab.eu": + to = ["pl-mom@planet-lab.eu"] else: to = [PLC_MAIL_SUPPORT_ADDRESS] -- 2.43.0