Index: trunk/packages/sipb-xen-www/code/cache_acls.py
===================================================================
--- trunk/packages/sipb-xen-www/code/cache_acls.py	(revision 874)
+++ trunk/packages/sipb-xen-www/code/cache_acls.py	(revision 879)
@@ -1,4 +1,5 @@
 #!/usr/bin/python
 from invirt.database import *
+from invirt.config import structs as config
 import sys
 import getafsgroups
@@ -30,5 +31,5 @@
         return []
     try:
-        return getafsgroups.getAfsGroupMembers(name, 'athena.mit.edu')
+        return getafsgroups.getAfsGroupMembers(name, config.authz[0].cell)
     except getafsgroups.AfsProcessError:
         return []
Index: trunk/packages/sipb-xen-www/code/controls.py
===================================================================
--- trunk/packages/sipb-xen-www/code/controls.py	(revision 874)
+++ trunk/packages/sipb-xen-www/code/controls.py	(revision 879)
@@ -133,5 +133,5 @@
         if not open_nics: #No IPs left!
             raise CodeError("No IP addresses left!  "
-                            "Contact xvm@mit.edu.")
+                            "Contact %s." % config.web.errormail)
         nic = open_nics[0]
         nic.machine_id = machine.machine_id
Index: trunk/packages/sipb-xen-www/code/main.py
===================================================================
--- trunk/packages/sipb-xen-www/code/main.py	(revision 874)
+++ trunk/packages/sipb-xen-www/code/main.py	(revision 879)
@@ -650,5 +650,5 @@
              errorMessage=str(err), stderr=emsg, traceback=traceback)
     details = templates.error_raw(searchList=[d])
-    if username not in ('price', 'ecprice', 'andersk'): #add yourself at will
+    if username not in config.web.errormail_exclude:
         send_error_mail('xvm error on %s for %s: %s' % (op, username, err),
                         details)
Index: trunk/packages/sipb-xen-www/code/validation.py
===================================================================
--- trunk/packages/sipb-xen-www/code/validation.py	(revision 874)
+++ trunk/packages/sipb-xen-www/code/validation.py	(revision 879)
@@ -6,4 +6,5 @@
 import string
 from invirt.database import Machine, NIC, Type, Disk, CDROM, Autoinstall
+from invirt.config import structs as config
 from webcommon import InvalidInput
 
@@ -224,5 +225,5 @@
         admin = 'system:' + admin
     try:
-        if user in getafsgroups.getAfsGroupMembers(admin, 'athena.mit.edu'):
+        if user in getafsgroups.getAfsGroupMembers(admin, config.authz[0].cell):
             return admin
     except getafsgroups.AfsProcessError, e:
