Chapter 19. Configuration file: config.cf

Table of Contents
ML specific configuration file: config.cf
config.cf format
Extension to postfix style
Overload variables in config.cf
Modifying/adding variables after all configuration files have been loaded.
Variable list (alphabetical order)
Variable list (class based)

ML specific configuration file: config.cf

You can customize each ML differently. fml4 and fml8 are same in this point.

In the case of fml4, there are $DIR and config.ph in ML home directory. This "config.ph" file is a perl script.

There is a config.cf file in fml8, too. But the format is diffrent. The format is like this:

variable = value
. It is similar to postfix or .ini files.

Problems in fml4

The configuration file of fml4, config.ph, is a perl script. Perl script is good for human editing but it is not suitable for configuration tools. It implies it is difficult to prepare configuration tools for config.ph. So, in fml4 two files, cf and config.ph are used. [1]

The use of cf is suitable for configuration tools but introduces another difficulty such as inconsistency between cf and config.ph since human may edit config.ph but forgets cf editing. So, fml8 introduces a new format as .cf files. This format is postfix flavour.

Notes

[1]

It is similar to the conversion from .mc to .cf in sendmail.

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml-devel/.
fml 4.0 project homepage is www.fml.org/fml/menu.ja.html.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.