NAME

PERL : Libconf::Glueconf::Postfix::Main_cf C/PYTHON/RUBY : Postfix/Main_cf

DESCRIPTION

Libconf::Glueconf::Postfix::Main_cf is a template that handles the main.cf files from postfix.

SYNOPSIS

  $postfix = new Libconf::Glueconf::Postfix::Main_cf({filename => 'main.cf' });
  $postfix->{inet_interfaces} = 'test_host';
  $postfix->write_conf();

CONSTRUCTOR

new($options)

creates the template

  $postfix = new Libconf::Glueconf::Postfix::Main_cf({
                                                       .. arguments .. 
                                                    })

the options are the same as in Libconf::Templates::Generic::KeyValue, look there to have the details.

METHODS

See <Libconf::Glueconf> for general methods