#!/bin/sh#the site id is the first argumentsiteid="$1"# look up the site administrator name from the site idsiteadmin_email=`cat /home/virtual/$siteid/info/current/siteinfo |grep ^email |cut -d' ' -f3`# send mail to the site adminecho '< some email content>' |mail -s 'your domain is being edited' $siteadmin_email