aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/mkfile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-10-29 16:26:32 +0000
committerrsc <devnull@localhost>2005-10-29 16:26:32 +0000
commitd1f529f46f957c78a3db73b42c2fcd2d3c9f8a34 (patch)
treea4d6f28106cca984926b9dd5ecddd6053b654617 /src/cmd/upas/mkfile
parent9f1fdc128738b2ed76258ac22a8574c681f3df3a (diff)
downloadplan9port-d1f529f46f957c78a3db73b42c2fcd2d3c9f8a34.tar.gz
plan9port-d1f529f46f957c78a3db73b42c2fcd2d3c9f8a34.tar.bz2
plan9port-d1f529f46f957c78a3db73b42c2fcd2d3c9f8a34.zip
Thanks to John Cummings.
Diffstat (limited to 'src/cmd/upas/mkfile')
-rw-r--r--src/cmd/upas/mkfile37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/cmd/upas/mkfile b/src/cmd/upas/mkfile
new file mode 100644
index 00000000..fc666a9d
--- /dev/null
+++ b/src/cmd/upas/mkfile
@@ -0,0 +1,37 @@
+<$PLAN9/src/mkhdr
+
+LIBS=common
+#PROGS=smtp alias fs ned misc q send scanmail pop3 ml marshal vf filterkit unesc
+PROGS=smtp alias fs ned q send marshal vf
+#libs must be made first
+DIRS=$LIBS $PROGS
+
+<$PLAN9/src/mkdirs
+
+#
+# setup the mail directories. this should be done by the administrator since
+# he/she will own everything. the following files must be altered to reflect
+# local preference.
+#
+# /mail/lib/namefiles - remove alias files you don't use, insert ones you do.
+# /mail/lib/remotemail - change '-g research.research.bell-labs.com' to your own mail
+# gateway. if you have none, remove it.
+# - change '-h plan9.bell-labs.com' to a name you would like
+# this host to be known as. if you don't care, take it
+# out and it will use the name in /env/site.
+# /mail/lib/rewrite - change the line that contains 'helix' to include names,
+# other than the contents of /env/site, that your system
+# answers to. this is a hack and will be fixed.
+#
+setup:V:
+ mkdir /mail
+ chmod 775 /mail
+ mkdir /mail/lib
+ chmod 775 /mail/lib
+ mkdir /mail/queue
+ mkdir /mail/box
+ mkdir /mail/tmp
+ chmod 777 /mail/queue /mail/box /mail/tmp
+ mkdir /mail/ml
+ chmod 775 /mail/ml
+ cp misc/rewrite misc/qmail misc/remotemail misc/namefiles /mail/lib