about summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
authorahriman <ahriman@falte.red>2019-04-27 03:52:14 +0000
committerahriman <ahriman@falte.red>2019-04-27 03:52:14 +0000
commit5c4fd3ff6fb31538eb87e1e0a5499ff71efe7711 (patch)
treebf6b36faa82fd0c96dacae49fddb21182987b2c6 /bin
parentd8d9b6d589b86ad6566886eca744091d5051dbce (diff)
downloadadmin-5c4fd3ff6fb31538eb87e1e0a5499ff71efe7711.tar.gz
changed mail line to reflect new admins alias
Diffstat (limited to 'bin')
-rwxr-xr-xbin/makeuser2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/makeuser b/bin/makeuser
index d8a3ac3..384333a 100755
--- a/bin/makeuser
+++ b/bin/makeuser
@@ -82,7 +82,7 @@ case $1 in
     pkill -HUP httpd
 
 # send welcome email
-        sed -e "s/newusername/$1/g" /admin/misc/email.tmpl | doas -u admins mail -s "welcome to tilde.institute!" $2
+        sed -e "s/newusername/$1/g" /admin/misc/email.tmpl | mail -r admins@tilde.institute -s "welcome to tilde.institute!" $2
 
 # subscribe to mailing list
     echo " " | doas -u $1 mail -s "subscribe" institute-join@lists.tildeverse.org