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

# I Want To Use ML By My Account.

When you set up an ML within your account, for example when you are using virtual domain service of ISP, you need to use a mail processor such as procmail.

To catch up messages to ML's, you need to filter messages according to To: or Cc: in the mail header.

fml8 expects the user uses a filter tool such as procmail in such a situation. fml8 distribution itself does not provide such a tool.

When running "makefml newml", "makefml" creates/updates ~/.procmailrc sample at /var/spool/ml/etc/procmail/procmailrc. Please use it as a sample.

## ~/.procmailrc Example

    PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:/usr/pkg/bin
    MAILDIR=$HOME/Mail	# You'd better make sure it exists
    DEFAULT=$HOME/Mail/mbox
    LOGFILE=$MAILDIR/procmail.log
    LOCKFILE=$HOME/.lockmail
    VERBOSE=on

    :0
    * To.*elena@fml.org
    | /usr/local/libexec/fml/fml.pl /var/spool/ml/elena

    :0
    * To.*elena-ctl@fml.org
    | /usr/local/libexec/fml/fml.pl /var/spool/ml/elena --ctladdr

    # last resort, mail for me et. al.
    :0
    inbox/.

## Virtual Domain Case

The procmail rules above contains ml_name and ml_domain within it. So it does not need special handling for virtual domain. It is same for both default domain and virtual domain.

MTA configuration is another issue. Please contact administrator on it.

Prev | Home | Next
case study: hierarchical ML | Up | Case Study: Office (1)

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