NONE TITLE 4.html
Keywords: NONE TITLE,fml, flexible mailing list manager, not listserv style but fmlserv emulates listserv or majordomo style

[PREVIOUS CHAPTER] [______TOC_______]

Appendix B sendmail

    http://www.sendmail.org/virtual-hosting.html

    Appendix B.1	Example: CF's USERTABLE_MAPS

    See doc/MANUAL.jpn of CF package.

    * changes of .def file

    -##                ut.dom1=btree:/etc/ut.dom1:error \
    -##                ut.dom2=dbm:/etc/ut.dom2 \
    -##                ut.dom3=nis:usertable3'
    +USERTABLE_MAPS='fml.org=hash:/root/test/fml'
    +
    ~.q

    * /root/test/fml

    fukachan:maildrop       fukachan@enkai.org

    * make db file

    # makemap hash /root/test/fml.db < /root/test/fml

    * sendmail test mode

    % sendmail -bt -C virtual.cf
    > 3,0 fukachan@fml.org
    rewrite: ruleset   3   input: fukachan @ fml . org
    rewrite: ruleset  96   input: fukachan < @ fml . org >
    rewrite: ruleset  96 returns: fukachan < @ fml . org >
    rewrite: ruleset   3 returns: fukachan < @ fml . org >
    rewrite: ruleset   0   input: fukachan < @ fml . org >
    rewrite: ruleset  91   input: fukachan < @ fml . org >
    rewrite: ruleset  91 returns: fukachan @ enkai . org @ < @ fml . org >
    rewrite: ruleset  97   input: fukachan @ enkai . org
    rewrite: ruleset   3   input: fukachan @ enkai . org
    rewrite: ruleset  96   input: fukachan < @ enkai . org >
    rewrite: ruleset  96 returns: fukachan < @ enkai . org >
    rewrite: ruleset   3 returns: fukachan < @ enkai . org >
    rewrite: ruleset   0   input: fukachan < @ enkai . org >
    rewrite: ruleset  88   input: < smtp : enkai . org > . fukachan < @ enkai . org >
    rewrite: ruleset  88 returns: $# smtp $@ enkai . org . $: fukachan < @ enkai . org >
    rewrite: ruleset   0 returns: $# smtp $@ enkai . org . $: fukachan < @ enkai . org >
    rewrite: ruleset  97 returns: $# smtp $@ enkai . org . $: fukachan < @ enkai . org >
    rewrite: ruleset   0 returns: $# smtp $@ enkai . org . $: fukachan < @ enkai . org >