fml 8 tutorial
Prev | Chapter 17. Case Studies Of Customization | Next

# Case Study: Office (2)

Edit /usr/local/etc/fml/site_default_config.cf to apply the effect to all ML's.

Add uppercase-ed ML name to the article subject tag.

    article_subject_tag = (\U$ml_name\E %05d)

For example, an article of support@example.co.jp has the tag

    Subject: (SUPPORT 10000)

.

Allow the use of command mail, which comes only from the specific domain (my domain e.g. example.co.jp). This hook enables it.

    $command_verify_request_end_hook = q{
            my $cred = $curproc->credential();
            my $from = $cred->sender();

            unless ($from =~ /\@example\.co\.jp/i) {
                    $curproc->stop_this_process();
                    $curproc->logerror("deny command request from $from");
            }
    };

Prev | Home | Next
Case Study: Office (1) | Up | Header Rewriting

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