fml4.0 のインストール
2002-04-18 作成 福島
2003-11-08 更新 福島

$ su
# groupadd fml     GID が 100 以上になること (CGI の suexec に対応させる場合)
# groupadd -g GID fml   GID を指定する場合はこちら
# useradd -g fml fml
# useradd -g fml -u UID fml   UID を指定する場合はこちら
# passwd fml     直接 fml になることは無いのでパスワードは設定しない

# mkdir /usr/local/fml
# chown fml:fml /usr/local/fml
# mkdir /var/spool/fml
# chown fml:fml /var/spool/fml

# su - fml
fml $ tar xzf fml-4.0-stable-20020309.tar.gz
fml $ cd fml-4.0-stable-20020309
fml $ ./makefml install

unshift(@INC, /home/fml/fml-4.0-stable-20020309/src)
---NOT USING configuration file (for the first time)

   THIS HOST (mailinglist) IS [i686-pc-linux-gnu]

---Please Define Your Fml System Configurations

Personal Use or ML-Admin-Group-Shared or fmlserv you use?
Personal, Group, Fmlserv (personal/group/fmlserv) [personal] [Enter]

DOMAIN NAME               [mailinglist] mailinglist.example.co.jp
FQDN                      [mailinglist] mailinglist.example.co.jp
EXEC FILES DIRECTORY      [/usr/local/fml] [Enter]
TOP LEVEL ML DIRECTORY    [/var/spool/ml] /var/spool/fml

Language (Japanese or English) [English] [Enter]


TimeZone (TZ: e.g. +0900, -0300) [+0900] [Enter]


  --- summary ---
      DOMAIN: mailinglist.example.co.jp
        FQDN: mailinglist.example.co.jp
    EXEC_DIR: /usr/local/fml
      ML_DIR: /var/spool/fml
    Language: English
    TimeZone: +0900


The current configuration is saved in /usr/local/fml/.fml/system

---Install the Fml system to /usr/local/fml. (y/n) [n] y

Installing fml system to /usr/local/fml
Fixing Path: src ...............................................................
............. libexec ..... sbin . cf . bin .................... www/cgi-bin ...
...... www/lib ... sys ......... module ..
        Done.

Generate nroff manuals:

Installing bin ...
Installing sbin .
Installing libexec .
Installing cf .
Installing etc ....
Installing sys ..
Installing src .......
Installing drafts ..
Installing messages .....
Installing www ......
Installing module ............
Installing databases ...
Installing doc .................................................................
....................
Done.

  For Your Information:
   Hmm... fml cannot connect sendmail on this machine.
   (Smtp::connect(localhost)->ERROR[接続を拒否されました])

   But don't worry!
   fml would send mails by 'exec sendmail' NOT IPC.


Setup CGI examples ........
      CGI configuration is saved in /usr/local/fml/.fml/cgi.conf


 -- Enjoy Internetworking!
fml $ vi ~/.bash_profile
PATH=/usr/local/fml:$PATH   念のため、makefml へのパスを追加しておく
fml $ exit # cd /etc/mail # mv ../aliases . sendmail 8.10 以降を使うので、aliases は /etc/mail/ にある必要がある # mv ../aliases.db . # vi /etc/sysconfig/ipchains
-A input -s 0/0 -d 0/0 25 -p tcp -y -j ACCEPT    RedHat 7.2 の場合 (パケットを受け入れるようにする)
# /etc/rc.d/init.d/ipchains restart /etc/sysconfig/ipchains を変更したのでリスタート