remove debug email address and add user in to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e49d9465c5
commit
a9122ad106
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue