Create ML On Unix
Run "makefml newml" To Create An ML (In The Case Of Default Domain)
The usage of &fml8; makefml is same as &fml4; in the case of default
domain. But differs in the virtual domain case. See
for the virtual domain case.
To create an ML, use "makefml" command (CUI) in the same way as &fml4;.
% su fml
% makefml newml elena
... snip ...
In the case of non default domain (virtual domain),
run "makefml newdomain" command before running "makefml newml".
% su root
# makefml newdomain fml.org /var/spool/virtual/fml.org
# exit
% su fml
% makefml newml elena
... snip ...
"makefml newml" processes the following steps.
Create files such as
config.cf
include
include-ctl
at /var/spool/ml/elena. The domain name et.al. in these files
is replaced to proper value.
Add elena ML entry into /var/spool/ml/etc/mail/aliases.
Run postalias to rebuild /var/spool/ml/etc/mail/aliases.db.
Create ~fml/.qmail-* files for qmail.
Update procmailrc as a sample.
Prepare the directory
~fml/public_html/fml/mlarchive/$domain/$ml/
for html archive.
For example, for elena@fml.org
~fml/public_html/fml/mlarchive/fml.org/elena/
is creatd.
HTML archive of ML articles is created by default.
Prepare CGI (GUI). Set up
~fml/public_html/cgi-bin/fml/$domain/admin/config.cgi
for the master cgi, instead cgi to control one ML $ml@$domain
is set up at
~fml/public_html/cgi-bin/fml/$domain/ml-admin/$ml/config.cgi
Run "makefml newml" To Create An ML (In The Case Of Virtual Domain)
The usage of makefml differs from &fml4;.
In the case of &fml8; firstly use "makefml newdomain" command,
in the next run "makefml newml" command.
Also ml_name differs. For virtual domain, use ml_name@ml_domain form.
In using "makefml newml", the usage is same as &fml4; except for
the ml_name. ml_name part is ml_name@ml_domain in the case of &fml8;
At the first time to use a virtual domain,
run "makefml newdomain" before "makefml newml".
% su root
# makefml newdomain nuinui.net /var/spool/virtual/nuinui.net
# exit
% su fml
% makefml newml elena@nuinui.net
After the second time, just use "makefml newml".
% su fml
% makefml newml elena@nuinui.net
In running "makefml newdomain",
specify a pair of domain and directory in ml_home_prefix_maps.
This command edits /usr/local/etc/fml/ml_home_prefix file to add the
following line.
nuinui.net /var/spool/virtual/nuinui.net
To remove this line, use "makefml rmdomain".
The usage of "makefml newml" command is same as in the case of default
domain.
"makefml newml" creates an example of virtual domain configurations
for several MTA's such as
/var/spool/ml/etc/sendmail/virtusertable
/var/spool/ml/etc/postfix/virtual
.
No example for qmail (not needed).
No example for procmail since .procmailrc contains domain.
See the chapter of
virtual domain
for more details.
§.setup.postfix;
§.setup.qmail;
§.setup.config.cf;
§.setup.newml.recipes;