Blob


1 <$PLAN9/src/mkhdr
3 LIBS=common
4 #PROGS=smtp alias fs ned misc q send scanmail pop3 ml marshal vf filterkit unesc
5 PROGS=smtp alias fs ned q send marshal vf misc
6 #libs must be made first
7 DIRS=$LIBS $PROGS
9 <$PLAN9/src/mkdirs
11 #
12 # setup the mail directories. this should be done by the administrator since
13 # he/she will own everything. the following files must be altered to reflect
14 # local preference.
15 #
16 # /mail/lib/namefiles - remove alias files you don't use, insert ones you do.
17 # /mail/lib/remotemail - change '-g research.research.bell-labs.com' to your own mail
18 # gateway. if you have none, remove it.
19 # - change '-h plan9.bell-labs.com' to a name you would like
20 # this host to be known as. if you don't care, take it
21 # out and it will use the name in /env/site.
22 # /mail/lib/rewrite - change the line that contains 'helix' to include names,
23 # other than the contents of /env/site, that your system
24 # answers to. this is a hack and will be fixed.
25 #
26 setup:V:
27 mkdir /mail
28 chmod 775 /mail
29 mkdir /mail/lib
30 chmod 775 /mail/lib
31 mkdir /mail/queue
32 mkdir /mail/box
33 mkdir /mail/tmp
34 chmod 777 /mail/queue /mail/box /mail/tmp
35 mkdir /mail/ml
36 chmod 775 /mail/ml
37 cp misc/rewrite misc/qmail misc/remotemail misc/namefiles /mail/lib