HCoop
/
hcoop
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b73d9f0
)
no longer need system:anyuser=l on Maildirs
author
megacz
<megacz>
Sun, 20 May 2007 04:37:35 +0000
(
04:37
+0000)
committer
megacz
<megacz>
Sun, 20 May 2007 04:37:35 +0000
(
04:37
+0000)
create-user
patch
|
blob
|
blame
|
history
make-account-for-fyodor-user
patch
|
blob
|
blame
|
history
diff --git
a/create-user
b/create-user
index
7608e97
..
7cc369b
100755
(executable)
--- a/
create-user
+++ b/
create-user
@@
-175,7
+175,6
@@
mkdir -p `dirname $MAILPATH`
fs ls $MAILPATH || fs mkm $MAILPATH mail.$USER
fs ls $HOMEPATH/Maildir || fs mkm $HOMEPATH/Maildir mail.$USER
fs sa $MAILPATH $USER all
fs ls $MAILPATH || fs mkm $MAILPATH mail.$USER
fs ls $HOMEPATH/Maildir || fs mkm $HOMEPATH/Maildir mail.$USER
fs sa $MAILPATH $USER all
-fs sa $MAILPATH system:anyuser l
fs sa $MAILPATH $USER.mailfilter all
# DATABASE VOLUME
fs sa $MAILPATH $USER.mailfilter all
# DATABASE VOLUME
diff --git
a/make-account-for-fyodor-user
b/make-account-for-fyodor-user
index
e999560
..
7def42c
100755
(executable)
--- a/
make-account-for-fyodor-user
+++ b/
make-account-for-fyodor-user
@@
-20,7
+20,7
@@
for USERHOME in `ssh $ADMIN@fyodor.hcoop.net cd /home\; find */.mire-password -s
echo == sending email to $USER@hcoop.net ====================================================
echo w00t |\
mail -a 'From: Adam Megacz <megacz@hcoop.net>' \
echo == sending email to $USER@hcoop.net ====================================================
echo w00t |\
mail -a 'From: Adam Megacz <megacz@hcoop.net>' \
- -s "account created for user $USER"
hcoop-sysadmin
@hcoop.net
+ -s "account created for user $USER"
admins
@hcoop.net
mail -a 'From: Adam Megacz <megacz@hcoop.net>' \
-s 'your account on mire.hcoop.net has been created' $USER@hcoop.net <<EOF
Enjoy!
mail -a 'From: Adam Megacz <megacz@hcoop.net>' \
-s 'your account on mire.hcoop.net has been created' $USER@hcoop.net <<EOF
Enjoy!