Configuration File: config.cf

fml 8 tutorial
Prev |  | Next

# Chapter 29. Configuration File: config.cf

# 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 is a config.ph in ML home directory, $DIR (e.g. /var/spool/ml). This "config.ph" file is a perl script.

There is one configuration file (config.cf) in fml8, too. But the format is different. The format is like this:

    variable = value

. It is similar to postfix or .ini files.

It is similar to a perl module. You can write perl codes after =cut line.

## 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 editing cf. So, fml8 introduces only one configuration file. It is a new format which is similar to Postfix main.cf.

### Notes

[1] | It is similar to the conversion from .mc to .cf in sendmail.

Prev | Home | Next
Discussion: Where Function Should Resolve $ml_name And $ml_domain. | Up | config.cf Format

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
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>.