From: John Doe Date: Wed, 5 Mar 2008 09:43:05 +0000 (+0000) Subject: simple patch for redirecting pl-mom notification to the right mailing list X-Git-Tag: 1.7-3~23 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=460f8c534c63e20d595a294409d84f59259e7136;p=nodemanager.git simple patch for redirecting pl-mom notification to the right mailing list --- 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]