NAME
    FML::ML::Control - create, rename and delete ml_home_dir.

SYNOPSIS
    use FML::ML::Control; my $control = new FML::ML::Control;
    $control->adjust_params_for_virtual_domain($curproc, $command_context,
    $params);

DESCRIPTION
    This class provides ML control functions.

METHODS
  new()
    constructor.

ML CREATION
  adjust_params_for_virtual_domain($curproc, $command_context, $params)
    set up $params for the specified virtual domain.

  init_ml_home_dir($curproc, $command_context, $params)
    create $ml_home_dir if needed.

  install_template_files($curproc, $command_context, $params)
    install config.cf, include, include-ctl et. al.

  install_config_cf($curproc, $command_context, $params)
    install ONLY config.cf file.

  update_aliases($curproc, $command_context, $params)
    update alias entries in MTA configurations considering virtual domain.

  is_mta_alias_maps_has_ml_entry($curproc, $params, $ml_name)
    check if $alias file has an $ml_name entry or not.

  setup_mail_archive_dir($curproc, $command_context, $params)
    set up ~fml/public_html/ for this mailing list.

  setup_cgi_interface($curproc, $command_context, $params)
    set up CGI interface for this mailing list.

  delete_cgi_interface($curproc, $command_context, $params)
    delete CGI scripts and the directories.

  setup_listinfo($curproc, $command_context, $params)
    set up information for this mailing list.

  delete_listinfo($curproc, $command_context, $params)
    delete listinfo files and the directories.

CREATE-ON-POST
  install_createonpost($curproc, $command_context, $params)
    set up or fix create-on-post environment.

  delete_createonpost($curproc, $command_context, $params)
    disable create-on-post environment.

ML REMOVAL
  delete_ml_home_dir($curproc, $command_context, $params)
    remove $ml_home_dir and update aliases if needed.

  delete_aliases($curproc, $command_context, $params)
    remove aliases entry.

UTILITY
  set_mode($mode)
    set mode.

  get_mode()
    get mode.

CODING STYLE
    See "http://www.fml.org/software/FNF/" on fml coding style guide.

AUTHOR
    Ken'ichi Fukamachi

COPYRIGHT
    Copyright (C) 2003,2004,2005,2006,2007,2008 Ken'ichi Fukamachi

    All rights reserved. This program is free software; you can redistribute
    it and/or modify it under the same terms as Perl itself.

HISTORY
    FML::ML::Control first appeared in fml8 mailing list driver package. See
    "http://www.fml.org/" for more details.

