#!/bin/bash
-# $Id$
-
-# to be run on the mail server at one-lab.org, to add aliases in that domain
+# to be run on the mail server at onelab.eu, to add aliases in that domain
# Example:
# new-alias.sh francois2.jan@orange-ftgroup.com
# -> creates one alias
-# francois2.jan@one-lab.org -> francois2.jan@orange-ftgroup.com
+# francois2.jan@onelab.eu -> francois2.jan@orange-ftgroup.com
COMMAND=$(basename $0)
echo "WARNING: $target skipped"
continue
fi
- aliasname=${namepart}@one-lab.org
+ aliasname=${namepart}@onelab.eu
sqlcommand="insert into alias values ( '${aliasname}', '${target}' )"
echo "Sending $sqlcommand"
echo "$sqlcommand" | $SQL