$ /usr/local/fml/makefml newml test
DO "newml" for test mailing list.
---Creating test mailing list
directory /var/spool/ml/test is created as UID=10008
directory /var/spool/ml/test/spool is created as UID=10008
---Generting configuration examples.
Generate template files in /var/spool/ml/test/
include include-ctl include-mead aliases Makefile crontab
fmlwrapper.c fmlwrapper.h
Generate qmail template files in /var/spool/ml/etc/qmail/alias/
.qmail-test .qmail-test-ctl .qmail-test-default .qmail-test-admin
.qmail-test-request .qmail-owner-test .qmail-owner-test-ctl
Update /var/spool/ml/etc/qmail/users/assign
Update /var/spool/ml/etc/crontab/fml
Create config.ph(/var/spool/ml/test/config.ph):
/var/spool/ml/test/cf -> config.ph ... Done.
Create template files for commands (help, guide ...)
help help-admin deny guide welcome confirm objective
Update /var/spool/ml/etc/aliases
The next step: update your MTA configuration. For example
% su root
# cat /var/spool/ml/test/aliases >> /etc/aliases
# newaliases
FYI: See templates in '/var/spool/ml/test/'
done.
aliasを登録する。
$ su -
# ln -s /var/spool/ml/etc/qmail/alias/.qmail* /var/qmail/alias/
このままだと、MLのアドレスは、fml-test@test.itnavi.comになってしまうため、/var/qmail/users/assign を設定する。
。
テンプレートは、/var/spool/ml/etc/qmail/users/assign にある。
assignファイルにテンプレートから該当するMLを追加し、assignの適用(assignを書き換えたら必ずqmail-newuで適用する。)を行う。
※最後の行の.(ドット)を忘れずに。
qmail-newu: fatal: bad format in users/assign になります。
# vi /var/qmail/users/assign
+test:fml:fmlのUID:fmlのGID:/var/spool/ml/etc/qmail/alias:-:test:
.
# /var/qmail/bin/qmail-newu
makefml command arguments what
---------------------------------------------------------
makefml info show this message
makefml install Install the fml system
makefml newml ML make a new Mailing List <ML>
makefml add ML address add <address> to <ML>
makefml adduser ML address add <address> to <ML>
makefml byeuser ML address remove <address> from <ML>
makefml bye ML address remove <address> from <ML>
makefml off ML address off <address>
makefml on ML address on <address>
makefml chaddr ML old new change address <old> => <new>
makefml matome ML addr [opt] set up digest(matome) for address <addr>
makefml digest ML addr [opt] set up digest(matome) for address <addr>
makefml byeadmin ML address remove the administrator of <ML>
makefml addadmin ML address add <address> as an admin to <ML>
makefml help help message
makefml passwd ML address to change the administrator passwd
makefml test ML test
makefml pgp ML PGP-arguments e.g. "pgp ML -ka publib_key"
makefml fmlserv set up fmlserv (listserv-like command interface)
makefml lock ML [time] lock <ML> for <time> (default 3600) sec.
makefml config-template configure template cf file
makefml edit-template edit template file under locked state
makefml create-doc-template create document templates e.g. help, guide, ...
makefml command ML addr ... e.g. "command ML address mget last:3 mp"
makefml edit ML edit <ML>'s file under lock (default config.ph)
makefml config ML [menu] to configure <ML> fundamental