Finished new doors method (again)

This commit is contained in:
Michiel Broek 2004-08-11 15:20:15 +00:00
parent 36ebc8fff3
commit 03267a2618
3 changed files with 44 additions and 6 deletions

View File

@ -173,11 +173,12 @@ install:
${CHOWN} -R ${OWNER}:${GROUP} ${PREFIX}/var ; \
chmod -R 0750 ${PREFIX}/var ; \
fi
@chmod 0770 ${PREFIX}/var/msgs
@if [ ! -d ${PREFIX}/var/boxes ]; then \
mkdir ${PREFIX}/var/boxes ; \
${CHOWN} ${OWNER}:${GROUP} ${PREFIX}/var/boxes ; \
chmod 0750 ${PREFIX}/var/boxes ; \
fi
@chmod 0770 ${PREFIX}/var/boxes
@if [ ! -d ${PREFIX}/var/rules ]; then \
mkdir ${PREFIX}/var/rules ; \
${CHOWN} ${OWNER}:${GROUP} ${PREFIX}/var/rules ; \
@ -228,7 +229,6 @@ install:
echo; echo "If there is nothing important in ${PREFIX}/doc" ; \
echo "you may remove that obsolete directory." ; \
fi
dist tar: ${TARFILE}
clean:

View File

@ -76,14 +76,14 @@ layout looks like this:<br>
/opt/mbse/var 0770 Var root
/opt/mbse/var/arealists 0750 Areamgr arealist files
/opt/mbse/var/badtic 0750 Bad TIC files
/opt/mbse/var/boxes 0750 Base for nodes fileboxes
/opt/mbse/var/boxes 0770 Base for nodes fileboxes
/opt/mbse/var/bso 0750 Binkley Style Outbound directory
/opt/mbse/var/bso/outbound 0750 Default outbound for main aka
/opt/mbse/var/dosemu 0770 Base for DOS drives
/opt/mbse/var/dosemu/c 0770 DOS drive C:
/opt/mbse/var/inbound 0750 Protected inbound directory
/opt/mbse/var/mail 0770 JAM messagebase root
/opt/mbse/var/msgs 0750 *.msgs netmail directory (not yet in use).
/opt/mbse/var/msgs 0770 *.msgs netmail directory (not yet in use).
/opt/mbse/var/nodelist 0750 Nodelists
/opt/mbse/var/queue 0750 Queue for before outbound
/opt/mbse/var/rules 0770 Echomail area rules files

View File

@ -26,7 +26,11 @@ is logged in the bbs. Since that is possible, a new location for the virtual C:
drive is now being used withing the $MBSE_ROOT file structure. This virtual C:
drive is owned by the group bbs. The basic ideas how doors should be run written
by Redy Rodriguez are still valid, but some scripts are changed and some dosemu
files must be copied into the mbse directory tree.
files must be copied into the mbse directory tree.<p>
<em>One very important note: the virtual dos drive is now $MBSE_ROOT/var/dosemu/c
Don't use another location or change the access rights, there will be several
references from mbse to that and only that location for dos support.
Choose another one and you are on your own!</em>
<p>&nbsp;<p>
<h3>Installing dosemu</h3>
@ -159,7 +163,41 @@ menu.
<p>
<img src="images/doors2.png" alt="doors menu" border="0">
<p>
That's it.
<p>&nbsp;<p>
<h3>Netmail support</h3>
<p>
In the virtual c: drive you need some directories that point to several other
mbse subdirectories. You may need at least three of them, one to put netmail in,
one to put files in to send and one semafore directory to tell mbse there is
something to send. For example like this:
<pre>
ln -s /opt/mbse/var/msgs /opt/mbse/var/dosemu/c/msgs
ln -s /opt/mbse/var/boxes/node92_100_60 /opt/mbse/var/dosemu/c/outbox
ln -s /opt/mbse/sema /opt/mbse/var/dosemu/c/sema
</pre>
In dos you now have:
<pre>
C:\MSGS
C:\OUTBOX
C:\SEMA
</pre>
In <code>C:\MSGS</code> doors may put *.msg netmails.
File attaches won't work from these netmails because the netmails
point to files with dosnames. (May be solved later). The script that calls the
door, for example <code>c:\doors\bre.bat</code> must copy the file to send to
the node outbound box. In the above example that would be copy to
<code>C:\OUTBOX</code>.
To create the semafore to tell mbse to scan add to the batfile (for example
<code>C:\DOORS\BRE.BAT</code> the following two lines:
<pre>
CD C:\SEMA
ECHO ""&gt;MAILOUT
</pre>
See also the <a href="faq.html#_Doors">F.A.Q.</a> for some very usefull tips and
tricks.
Using the same method with symlinks, you can make all paths you need from the
rest of mbse visible in dos. Use with care.
<p>&nbsp;<p>
<h3>What if I don't upgrade</h3>