fml 8 tutorial
Prev | Chapter 13. What A User Can | Next

# Command Mail (Control fml By Sending Mail)

fml8 accepts control commands which is sent as a mail. It is called "command mail".

> Important: The use of CUI (makefml/fml) is basic in fml world. It is expected you should use CUI if you can login the mailing list server.

> The role of command mail is to delegate fml control priviledge to users who cannot login the mailing list server.

## Flow

Consider elena ML. Send the command mail to elena-ctl@fml.org which is the address for command mail. MTA receives the mail and finally kicks off /usr/local/libexec/fml/command program. This program receives the mail (command mail) from STDIN , processes the requests and sends back the result to the sender. The mail to send back is passed to MTA for delivery via SMTP.

Warning
The result is aggreagated to one msssage as MIME/Multipart. This is different from fml4 behaviour.

## Perl Modules For Command Mail

All modules which CUI, GUI and command mail uses are implented as FML::Command:: class.

In fact, a sub set of FML::Command:: class is allowed as command mail. $user_command_mail_allowed_commands, $anonymous_command_mail_allowed_commands and $admin_command_mail_allowed_commands variables defines it.

Prev | Home | Next
Unsubscribe | Up | What Can You Do On The Mailing List Server

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