To make a new local command usable for all ML's on this host, you need to put the module you wrote at
/usr/local/lib/fml/site_local/. If the command is allowed only for the specifiec ML (e.g. elena ML), put it at the ML local library path
/var/spool/ml/elena/local/lib/where $ml_home_dir = /var/spool/ml/elena.
Consider to make a new local user command "uja". Pick up a command at FML::Command::User, cut and paste it. Please put it at
/usr/local/lib/fml/site_local/FML/Command/User/uja.pmTo permit the use of it for all ML's, edit site_default_config.cf to add it into $commands_for_user to permit the user of "uja" command.
user_command_mail_allowed_commands += ujaIt you allow the command only for the specific elena ML, edit /var/spool/ml/elena/config.cf in the same way.
user_command_mail_allowed_commands += uja
In the same way described above, hack the module!:) but the module path differs. Put it at the FML::Command::Admin:: class. For example
/usr/local/lib/fml/site_local/FML/Command/Admin/uja.pmEdit site_default_config.cf to add it into $user_command_mail_allowed_commands to permit the use of "admin uja" command.
admin_command_mail_allowed_commands += uja
Copyright (C) 1993-2017 Ken'ichi Fukamachi mail:< fukachan at fml.org >