home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
internet
/
fidomail_1
/
!FidoMail
/
Dox
/
Domains
< prev
next >
Wrap
Text File
|
1994-01-30
|
3KB
|
81 lines
Domains / complete customisation
--------------------------------
It is now possible to have 1 copy of FidoMail, yet run it with completely
different configurations. This can be used for many purposes, one is to have
separate messagebases for different domains. It would also be possible to run
several nodes with one FidoMail.
The different domains are defined as follows:
There is a directory called <FM$Domains$Dir>. Inside this is a directory for
each domain. Inside each of these are those files and dirs that are _different_
for that particular domain.
In the default setup, this is placed like this:
Item Usage
-----------------------------------------------------------------------------
Config Directory with main config files
Config.!Limits Limits for all domains
Config.!SetVars Obey-file to set variables for all
domains
Config.Main Main configuration for all domains
Domains General domain-directory
Domains.FidoNet One domain
Domains.FidoNet.!Activate Obey-file to activate this domain
Domains.FidoNet.DomainCfg Domain configuration differences
Domains.FidoNet.FileLists FileLists in this domain
Domains.FidoNet.Misc.!AddrBook Address book in this domain
Domains.FidoNet.Misc.AreaMap Areamap for this domain
Domains.FidoNet.Misc.Forward How Forwards look in this domain
Domains.FidoNet.Misc.GroupSplit How Groups are split in this domain
Domains.FidoNet.Misc.OrigAreas File to detect area changes in this
domain
Domains.FidoNet.Msgs Message base for this domain
To make a new domain, READ THIS FILE, and make a new directory in 'Domains',
like the 'FidoNet' one already in there.
How domain-selection works
--------------------------
When FidoMail starts up, it will scan the 'Domains' directory. The contents of
that will be listed in the 'Misc ⇨ Domain ⇨ ...' submenu.
When you select a domain in that menu, this is what happens:
1. FidoMail will execute the !Activate file for the selected domain.
2. The !Activate file will set up FM$Domain and FM$PostFix and then run the
!SetVars file.
3. The !SetVars file will set up all the other variables according to FM$Domain
and FM$PostFix, pointing most of them into the domain directory.
4. FidoMail then restarts itself, using the newly set variables, and hence
using the files in the selected domain-directory.
The domain used at startup (not restart) is activated in exactly the same way,
by the !Run file.
Configuration
-------------
The configuration works in a slightly different way than this. FidoMail will
_always_ take <FM$Config$File> as the configuration, and this is normally
'Config.Main'.
But in that config file, there is this line:
Include <FM$CurDomain$Dir>.DomainCfg
So when FM$CurDomain$Dir is changed (by !SetVars), part of the configuration
will change too, according to the DomainCfg file for that particular domain.
This 'DomainCfg' file then contains what settings you want to be different for
that domain, and that can be everything, if desired.
In short: 'Main' contains the things you want in all the domains.
'DomainCfg' contains the domain-specific additions to this.
-----------------------------------------------------------------------------
This can all be changed to suit different requirements, by changing the
appropriate obey-files etc.