remove debug email address and add user in to

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-08 14:30:22 +02:00
parent e49d9465c5
commit a9122ad106

View file

@ -65,7 +65,6 @@ fi
sendmail="/usr/sbin/sendmail"
to="systems-sysadmins@lists.inf.ethz.ch"
to="nicosc@ethz.ch"
from="${NETHZ_USERNAME}@ethz.ch"
account="$1"; shift
@ -76,8 +75,9 @@ expiry="$1"; shift
comment="$@"
cat << eof | $sendmail -f "$from" $to
To: systems-sysadmins@lists.inf.ethz.ch
# Also send to user
cat << eof | $sendmail -f "$from" $from $to
To: <$from>, <$to)
Subject: Create account $account in ou $ou
Sysadmin-Proxy: Check & forward this e-mail 1:1 to support@inf.ethz.ch.