post article

Send the mail to elena@fml.org. MTA (on e.g. ahodori.fml.org) receives the mail and finally kicks off /usr/local/libexec/fml/distribute command.

distribute recieves the message from STDIN, rewrites the header, save it in the spool directory and pass it back to MTA for delivery.

process of distribution

add a tag to subject, update the article sequence number.

Example:

Subject: [elena:00100] teddy bear is cute.
(no tag by default).

save article (as a text file).

create a HTML version of the article under ~fml/public_html/ directory.

update database on thread.

variables to control the article.

Warning

not yet written.

Boot Sequence

fml boot loader boots off in this way.

/usr/local/libexec/fml/distribute is symlink-ed to /usr/local/libexec/fml/loader. These files are same.

/usr/local/libexec/fml/loader reads /usr/local/etc/fml/main.cf firstly. $fml_vesrion such as "current-20010501" is defined in the main.cf. fml8 resolves $fml_version from it and determines the library path as /usr/local/lib/fml/current-20010501/. fml8 loads perl modules under it.

fml8 sets up @INC properly, fml loader loads FML::Process::Switch module and check $0 (process name). fml knows the process role from $0. In this case of distribute, fml loads FML::Process::Distribute module, switch itself to it and processes distribution.

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/fml/menu.ja.html.
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>.