4
0
Fork 0

welcome-email script added

master
Tomek Dubrownik 2012-10-05 20:34:22 +02:00
parent 4d5351e4eb
commit 78ee7b1725
2 changed files with 21 additions and 0 deletions

View File

@ -23,3 +23,4 @@ create-posix-group $login $uid
if [ "$1" = "--full" ]; then
grant-member-privileges $login
fi
msg "After commiting, please issue welcome-email $login to activate the mailbox"

20
bin/welcome-email Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
#% welcome-email user
#% send a welcome email to user.
/usr/sbin/sendmail "$1@hackerspace.pl" <<EOF
Subject: Welcome to Hackerspace Warsaw!
To: $1
Welcome to Hackerspace Warsaw!
You should now have access to (at least) our wiki, redmine and email services.
Password changes: https://ldap.hackerspace.pl
All the important info is here: https://wiki.hackerspace.pl/doku.php?id=services
In case of trouble, create a ticket at: https://redmine.hackerspace.pl - you do not need to create an account, just log in with your wiki username and password.
Happy hacking!
EOF