From a9122ad106763fe18fc557ed1e34d784700e441d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 8 Apr 2011 14:30:22 +0200 Subject: [PATCH] remove debug email address and add user in to Signed-off-by: Nico Schottelius --- eth/user/account_create | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eth/user/account_create b/eth/user/account_create index 3160644..60cef13 100755 --- a/eth/user/account_create +++ b/eth/user/account_create @@ -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.