send mail from within a pagsh so tokens are not lost
authormegacz <megacz>
Sun, 21 Oct 2007 06:32:33 +0000 (06:32 +0000)
committermegacz <megacz>
Sun, 21 Oct 2007 06:32:33 +0000 (06:32 +0000)
create-user

index 6474841..4624cce 100755 (executable)
@@ -220,7 +220,7 @@ done
 if test $NOTIFY = yes; then
     # This is probably going overboard, but oh well
     echo "$USER needs assistance on their shared spam dir" | \
-        mail -s "[create-user] $USER needs assistance" \
+        pagsh -c mail -s "[create-user] $USER needs assistance" \
           -e -a "From: admins@deleuze.hcoop.net" mwolson_admin
 fi