#
#   Similar to that of FBB.  Again you can do really silly things if this
#     is setup wrong, no checking done in this respect.
#
#   Entries found to be larger than the allowed 6 chars in the TO or FROM
#     fields will be truncated.  The searches are done case independant at
#     this moment in time, as BBS system works like dat!
#   The FIRST match is the one taken.
#   The swapping is not recursive, so it will only process the list(s)
#     once.  The swapping is accumulative though so:
#
#   P > GB7FOO  > TEST
#   P > TEST    > G7LED
#   If TO:GB7FOO the net result is TO:G7LED.  But if:
#
#   P > TEST    > G7LED
#   P > GB7FOO  > TEST
#   If TO:GB7FOO the net result is TO:TEST.  So order is important, this
#     again can be changed if it proves to be a problem, or rather flags
#     can be added achieve your desired effect.  Comments appreciated.
#
#   Would a *clear* distinction be needed to only apply certain rules on
#     SB or SP etc?  Comments as usual welcome.
#   Also swapping of the from address is implemented, mainly for
#     completeness.
#
#   <Apply>	<Type>	<Setting>	<Type>	<NewSetting>
#
#  <Apply> is used to distinguish between what type of message this rule
#		should be applied to.  P is Personals, B is Bulletins (also
#		F for Files and A for Acks are possible).  If this is set to
#		'*' the rule will be applied to all message types.
#  <Type>  can be set to < is From, > is To, @ is At or $ is message type.
#
# examples (many of them silly ones!):
#
#  Make changes based on FROM name.
#	P < G7LED	< TEST
#	P < G7LED	> G7LED1
#	P < G7LED	@ G7LED.GB9TST.#29.GBR.EU
#	P < G7LED	$ B
#
#  Make changes based on TO address.
#	B > G7LED	< TEST
#	B > G7LED	> G7LED1
#	B > G7LED	@ G7LED.GB9TST.#29.GBR.EU
#	B > G7LED	$ P
#  
#  Make changes based on (that going to) AT address.
#	P @ G7LED	< TEST
#	P @ G7LED	> G7LED1
#	P @ G7LED	@ G7LED.GB9TST.#29.GBR.EU
#	P @ G7LED	$ B
#
#
#
#  Simple fix, so all items addressed to me get taken locally.
P > G7LED		@ G7LED.GB7MIP.#29.GBR.EU
* > G7LED		$ P
#  Mailing list...
P > LBBS		@ G7LED.GB7MIP.#29.GBR.EU
#
P @ MIPHUB	@ MIPHUB.#29.GBR.EU
P @ MIPBBS	@ GB7MIP.#29.GBR.EU
P @ GB7BIR	@ GB7BIR.#29.GBR.EU
P @ GB7NJR	@ GB7NJR.#29.GBR.EU
P @ GB7MIP	@ GB7MIP.#29.GBR.EU
P @ GB7PIT	@ GB7PIT.#25.GBR.EU
#
#  BBS systems might like to use:
#> GB7MIP	> G7LED
#  REQCFG Not supported
#> REQCFG	> G7LED
#
#  SB entries (nothing actually distinguishes this section from the rest,
#              like FBBs SWAPP.SYS)
B @ WWW		@ WW
B @ AMSAT	@ FOOBAR
#
#
#  In the UK for some damn reason there is this "elite" net of sysops,
#	who prefer to use 'SP SYSOP' instead of 'SB SYSOP' so the following
#	few rules will allow them to be passed through the Feeds file as a
#	group '#SYSOP'.
#
#  Change the name to anything arbitrary (so it acts like a token).
P > SYSOP       > #SYSOP
#  Make it type Bulletin, and you route entries as (in ./etc/Feed) with :
#  #SYSOP@*     +
#
P > #SYSOP      $ B
#
#
#  Host specific sections, this is the system name we are spooling OUT to.
#
#  NOTE: The global section is used first.  Then the per system section is
#        used.  The global changes would be in effect when it does the per
#        system swapping.  This facility might be useful to swap something
#        back on certain routes (maybe out of continent/country), or if you
#        have a SMALL global (or no) section and make up the section for
#        each neighbour.
#
#
[GB7MIP]
B @ FOOBAR	@ AMSAT
#
#  Swap token back to correct message type.
B > #SYSOP	$ P
#  Swap the token back into the original TO address.
P > #SYSOP	> SYSOP
#
[GB7PIT]
B > #SYSOP	$ P
P > #SYSOP	> SYSOP
#
[GB7BIR]
B > #SYSOP	$ P
P > #SYSOP	> SYSOP
#
[GB7COV]
B > #SYSOP	$ P
P > #SYSOP	> SYSOP
#
#
#  I can even put myself in here...
#
[G7LED]
P > SYSOP	@ G7LED.GB7MIP.#29.GBR.EU
B @ FOOBAR	@ AMSAT
#
#  Swap token back to correct message type.
#B > #SYSOP	$ P
#  Swap the token back into the original TO address.
#P > #SYSOP	> SYSOP
B > #SYSOP	> SYSOP
# 
#
#  The following marker is important, without it the file will not be
#    regarded as valid.  LEAVE ALONE.
! THE END
