- 论坛徽章:
- 0
|
执行到make setup不通过
1.注意:为了启用maillist的MySQL支持,你必须首先建立mysql管理用户
# mysql -u root -p******
use mysql;
insert into user values('localhost','ezmlm','','y','y','y','y','y','y','y','y','y','y','y','y','y', 'y');
update user set password=password('ezmlm') where user='ezmlm';
FLUSH PRIVILEGES;
exit;
建立ezmlm数据库
# mysqladmin -u root -p****** create ezmlm
2.ezmlm-idx包含有对ezmlm的修正和补充,他们是一个整体。
# cd /home/pub
# tar -zxvf ezmlm-0.53.tar.gz
# tar -zxvf ezmlm-idx-0.40.tar.gz
# mv ezmlm-idx-0.40/* ezmlm-0.53/
# cd ezmlm-0.53
# patch <&idx.patch
# patch <&../ezmlm-idx-0.53.400.unified_41.patch
# make mysql #MySQL 支持
# make clean
# make man
# make ch_GB #汉字GB2312支持
&
# make setup
3.在你建立一个基于MySQL的maillist之前,你必须保证ezmlm库中已存在一个对应的表:
例如你想建一个基于MySQL的maillist:testlist
# /var/qmail/bin/ezmlm/ezmlm-mktab -d testlist | mysql -uezmlm -pezmlm -f ezmlm
这样就在ezmlm库中为testlist建立了一系列相关表格:
+------------------------+
| Tables |
+------------------------+
| testlist |
| testlist_allow |
| testlist_allow_slog |
| testlist_cookie |
| testlist_deny |
| testlist_deny_slog |
| testlist_digest |
| testlist_digest_cookie |
| testlist_digest_mlog |
| testlist_digest_slog |
| testlist_mlog |
| testlist_mod |
| testlist_mod_slog |
| testlist_slog |
+------------------------+
你可以用一下命令察看!&
# mysqlshow -u root -p****** ezmlm |
|