fml-2.1GAMMA-snapshot198.tar.gzのinstall (97/05/16) 1) mailing listの管理者としてfmlというuserとgroupを作る $ su # vipw fml::1500:1500:fml admin:/usr/local/fml:/bin/bash を追加。1500:1500はUID:GIDなので他と重ならないようにする。 # vi /etc/group fml::1500: を追加。1500は上のGIDと合わせる。 セキュリティーホールにならないようにfmlのpasswordも設定しておく。 # passwd fml 2) install先のdirectoryを作ってowner、groupをfmlにする。 # mkdir /usr/local/fml # mkdir /usr/local/fml/spool # mkdir /usr/local/fml/spool/ml # chown fml.fml /usr/local/fml # chown fml.fml /usr/local/fml/spool # chown fml.fml /usr/local/fml/spool/ml 3) fmlになってsourceを展開し、installする # su fml $ tar zxvf fml-2.1GAMMA-snapshot198.tar.gz -C /tmp $ cd /tmp/fml-2.1GAMMA-snapshot198 $ perl makefml install Personal Use or ML-Admin-Group-Shared or fmlserv you use? Personal, Group, Fmlserv (personal/group/fmlserv) [personal] DOMAIN NAME [nisoc.or.jp] FQDN [aqua.nisoc.or.jp] EXEC FILES DIRECTORY [/usr/local/fml] TOP LEVEL ML DIRECTORY [/var/spool/ml] /usr/local/fml/spool/ml LANGUAGE [Japanese] 上のような質問があるので環境に合わせて変更する。 DOMAIN NAMEやFQDNは環境を読み取って聞いてくるので通常はreturnのみで OKなはず。 EXEC FILES DIRECTORYはさっき作ったfmlのdirectoryで、TOP LEVEL ML DIRECTORY も管理しやすいようにfmlのdirectoryの下に作ることにした。 4) staff MLを作る。 $ /usr/local/fml/makefml newml staff /usr/local/fml/spool/ml/staffに各種fileが作られる。 最後に Please see several examples in /usr/local/fml/spool/ml/staff # Example of Aliases (/usr/local/fml/spool/ml/staff/aliases) staff: :include:/usr/local/fml/spool/ml/staff/include staff-ctl: :include:/usr/local/fml/spool/ml/staff/include-ctl staff-request: staff-admin staff-admin: fml owner-staff: fml と言われるので最後の5行をrootになって/etc/aliasesに追加しnewaliases を実行する。 $ exit # vi /etc/aliases staff: :include:/usr/local/fml/spool/ml/staff/include staff-ctl: :include:/usr/local/fml/spool/ml/staff/include-ctl staff-request: staff-admin staff-admin: shioji@nisoc.or.jp owner-staff: shioji@nisoc.or.jp を追加。 # newaliases 5) memberの登録 # su fml $ /usr/local/fml/makefml add staff shioji@nisoc.or.jp 6) subjectの形式や配送方針 subjectに[staff:1]を付ける。 また配送方針としては、誰からの投稿もMLに流すしメンバーの自動登録はしない。 これは上の例でいうと配送はshioji@nisoc.or.jpにされてるが、投稿は 他のaccount(shioji@on.rim.or.jpやshioji@niigata-cc.niigata.niigata.jp、 KHB11637@niftyserve.or.jpなど)からもできるようにしたいから。 $ /usr/local/fml/makefml config staff ******************************************************************** Which entry do you change? -------------------------------------------------------------------- ENTRY Current Configuration -------------------------------------------------------------------- 0 END 1 MEMBER CHECK or AUTO REGISTRATION member_check 2 SUBJECT TYPE 3 OPTIONAL SETTINGS (e.g. MIME, HTML) 4 Delivery Mode distribute + commands available Menu (number) [0] 2 のSUBJECT TYPEを選択 Subject TAG TYPE [0-6]: TYPE Subject Example ---------------------------- 0 Subject: NO TAG (Default, Fml recommends) 1 Subject: (Elena:100) 2 Subject: [Elena:100] (hml 1.6 compat) 3 Subject: (Elena 100) 4 Subject: [Elena 100] 5 Subject: [Elena,100] 6 Subject: (Elena,100) Subject TAG TYPE (0-6) [0] 2のtypeを選択 ******************************************************************** Which entry do you change? -------------------------------------------------------------------- ENTRY Current Configuration -------------------------------------------------------------------- 0 END 1 MEMBER CHECK or AUTO REGISTRATION member_check 2 SUBJECT TYPE [:] 3 OPTIONAL SETTINGS (e.g. MIME, HTML) 4 Delivery Mode distribute + commands available Menu (number) [0] 4を選択 ------------------------------------------------------- ENTRY Current Configuration ------------------------------------------------------- 0 END 1 Distribute only (only members can post) 2 Distribute only (anyone can post) 3 Distribute + Commands (default) <=== Delivery Mode (1-3) [0] 2を選択 ------------------------------------------------------- ENTRY Current Configuration ------------------------------------------------------- 0 END 1 Distribute only (only members can post) 2 Distribute only (anyone can post) <=== 3 Distribute + Commands (default) Delivery Mode (1-3) [0] リターンキーを押す ******************************************************************** Which entry do you change? -------------------------------------------------------------------- ENTRY Current Configuration -------------------------------------------------------------------- 0 END 1 MEMBER CHECK or AUTO REGISTRATION member_check 2 SUBJECT TYPE [:] 3 OPTIONAL SETTINGS (e.g. MIME, HTML) 4 Delivery Mode distribute-only (anyone can post) Menu (number) [0] 0を選択 /usr/local/fml/spool/ml/staff/membersを直接編集して「+」とだけ 書いておく。 これで一応完成。 他の機能(HTMLとの連係やリモートメンテナンス等)については付属の documentを参考。