[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .

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 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.



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

[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .
Copyright (C) 1993-2022 Ken'ichi Fukamachi mail:< fukachan at fml.org >