⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1342.html

📁 著名的linux英雄站点的文档打包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
mysqladmin -u root -pXXXXX create ezmlm<br>
<br>
在你建立一个基于MySQL的maillist之前,你必须保证ezmlm库中已存在一个对应的表:<br>
<br>
Ex:你想建一个基于MySQL的maillist:testlist<br>
<br>
/usr/local/bin/ezmlm/ezmlm-mktab -d testlist | mysql -uezmlm -pezmlm -f ezmlm<br>
<br>
这样就在ezmlm库中为testlist建立了一系列相关表格:<br>
<br>
| testlist |<br>
<br>
| testlist_allow |<br>
<br>
| testlist_allow_slog |<br>
<br>
| testlist_cookie |<br>
<br>
| testlist_deny |<br>
<br>
| testlist_deny_slog |<br>
<br>
| testlist_digest |<br>
<br>
| testlist_digest_cookie |<br>
<br>
| testlist_digest_mlog |<br>
<br>
| testlist_digest_name |<br>
<br>
| testlist_digest_slog |<br>
<br>
| testlist_mlog |<br>
<br>
| testlist_mod |<br>
<br>
| testlist_mod_slog |<br>
<br>
| testlist_name |<br>
<br>
| testlist_slog<br>
<br>
你可以用mysqlshow -u root -pXXXX ezmlm 察看!<br>
<br>
OK!现在已可以通过qmailadmin建一个支持MySQL的maillist:testlist,选择Enable SQL support,<br>
<br>
SQL setting:<br>
<br>
host:localhost,port:3306,user:ezmlm,password:ezmlm,database:ezmlm,table:testlist<br>
<br>
Click Add,OK!Congratulate yourself!<br>
<br>
如果你不需要MySQL支持,就不用这么麻烦了!<br>
<br>
安装脚本请到此下载!已经建好了缺省的数据库:ezmlm,用户:ezmlm;测试表:list。<br>
<br>
另外请大家探讨一下如何使qmailadmin在建支持MySQL的maillist时自动建表。欢迎发信至hleil@163.com<br>
<br>
4.4:vqsignup<br>
vqsignup的安装文档说“This program is not easy to install, so good luck ;]”,据我的经验, vqsignup的安装相当简单,由于涉及比较多的文件编辑工作,同时比较简单,所以,vqsignup不提供安装脚本。以下是安装过程:<br>
<br>
<br>
1:tar -zxvf vqsignup-0.5.tar.gz<br>
<br>
2:编译<br>
cd vqsignup-0.5<br>
<br>
./configure<br>
<br>
make<br>
<br>
<br>
3:执行部分<br>
cp vqsignup /var/www/cgi-bin/vqsignup.cgi<br>
<br>
chown vpopmail /var/www/cgi-bin/vqsignup.cgi<br>
<br>
chgrp vchkpw /var/www/cgi-bin/vqsignup.cgi<br>
<br>
chmod ug+s /var/www/cgi-bin/vqsignup.cgi<br>
<br>
cp vqsignup.conf /var/www/cgi-bin/<br>
<br>
chmod ugo+r /var/www/cgi-bin/vqsignup.conf<br>
<br>
<br>
4:html界面<br>
mkdir /var/www/cgi-bin/vqsignup<br>
<br>
mkdir /var/www/cgi-bin/vqsignup/html<br>
<br>
cp html/* /var/www/cgi-bin/vqsignup/html/<br>
<br>
cp vqsignup.html /var/www/html<br>
<br>
<br>
5:修改<br>
修改 /var/www/html/vqsignup.html 的下拉列表项以符合你的虚拟域;<br>
<br>
修改 /var/www/cgi-bin/vqsignup.conf 的add_domain项以符合你的虚拟域;<br>
<br>
/var/www/html/vqsignup.html和/var/www/cgi-bin/vqsignup.conf的虚拟域必须一一对应。<br>
<br>
<br>
6:测试<br>
打开浏览器,http://xxx.xxx.xxx.xxx/vqsignup.html<br>
<br>
输入用户名、密码,Click Submit,OK!<br>
<br>
你可以使用qmailadmin察看,对应的虚拟域中已经多了一个用户!<br>
<br>
4.5:sqwebmail<br>
伴随1.0发布的sqwebmail安装脚本不可用,请大家注意!<br>
<br>
在脚本中设定的环境变量好像不起作用,如果用手工方式设定环境变量,然后执行 ./configure ...... 就一切OK!我不知道是什么原因,如果你解决了这个问题,请不吝赐教!<br>
<br>
OK,现在让我们手工编译sqwebmail吧,好在比较简单。<br>
<br>
<br>
1:<br>
确保已经下载了最新的preauthvchkpw.c(if use vpopmail4.10.X)<br>
<br>
tar -zxvf sqwebmail-2.1.1.tar.gz<br>
<br>
cp -f preauthvchkpw.c sqwebmail-2.1.1/authlib<br>
<br>
<br>
2:编译<br>
cd sqwebmail-2.1.1<br>
<br>
#设定环境<br>
<br>
INCS=-I/usr/include/mysql<br>
<br>
export INCS<br>
<br>
LIBS="-L/usr/lib/mysql -lmysqlclient -lz"<br>
<br>
export LIBS<br>
<br>
CPPFLAGS=-I/usr/include/mysql<br>
<br>
LDFLAGS=-L/usr/lib/mysql<br>
<br>
export CPPFLAGS<br>
<br>
export LDFLAGS<br>
<br>
<br>
./configure --with-cachedir --without-gzip --enable-webpass=yes <br>
<br>
--enable-softtimeout=300 --enable-autopurge=180 --enable-maxpurge=180 <br>
<br>
--with-htmllibdir=/var/www/sqwebmail --enable-cgibindir=/var/www/cgi-bin <br>
<br>
--enable-imagedir=/var/www../misc/sqwebmail <br>
<br>
--enableimageurl=../misc/sqwebmail/ <br>
<br>
--enable-mimecharset=gb2312 --with-maxargsize=5000000 <br>
<br>
--with-maxformargsize=5000000 --with-maxmsgsize=5000000 --without-ispell <br>
<br>
--with-authshadow --without-authmysql --with-authldap --with-authuserdb <br>
<br>
--with-authpwd --without-authpam --with-authvchkpw --without-authdaemon<br>
<br>
make configure-check;make;make check;make install-strip;make install-configure<br>
<br>
#系统用户采用shadow验证,虚拟域采用vchkpw验证,禁止其他验证方式<br>
<br>
echo "authvchkpw authshadow" &gt; /var/www/sqwebmail/authmodulelist<br>
<br>
<br>
3:关于gb2312的说明:<br>
按照“SqWebMail Language translations”的说明,似乎设定其他语言是一件很复杂的事,由于 “SqWebMail Language translations”没有随版本更新,不清楚对于sqwebmail-2.1.1来说有没有变动,但我没有按照它说的去做,而是这样:<br>
<br>
cd /var/www/sqwebmail/html<br>
<br>
mkdir zh_CN<br>
<br>
cp en_us/* zh_CN/<br>
<br>
rm -f en<br>
<br>
ln -s zh_CN en<br>
<br>
#设定<br>
<br>
cd en<br>
<br>
echo zh_CN &gt; LANGUAGE<br>
<br>
echo zh_CN zh_CN &gt;LANGUAGE_PREF<br>
<br>
echo zh_CN &gt; LOCALE<br>
<br>
echo gb2312 &gt; CHARSET<br>
<br>
然后编辑所有.html文件,换成汉字。使用中没有发现问题。<br>
<br>
<br>
4:测试<br>
打开浏览器,http://xxx.xxx.xxx.xxx/cgi-bin/sqwebmail<br>
<br>
输入用户名、口令,OK!(系统用户直接输入用户名、虚拟域用户输入Email地址:user@domain.com)<br>
<br>
</FONT><br>
                                      </TD>
                                    </TR>
                                <TR>
                                <TD colSpan=2><FONT 
                                class=middlefont></FONT><BR>
                                        <FONT 
                                class=normalfont>全文结束</FONT> </TD>
                                    </TR>
                                <TR>
                                <TD background="images/dot.gif" tppabs="http://www.linuxhero.com/docs/images/dot.gif" colSpan=2 
                                height=10></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD>
                        <TD vAlign=top width="20%" 
                      background="images/line.gif" tppabs="http://www.linuxhero.com/docs/images/line.gif" rowSpan=2> 
                          <DIV align=center> 
                            <table class=tableoutline cellspacing=1 cellpadding=4 
                        width="100%" align=center border=0>
                              <tr class=firstalt> 
                                <td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colspan=2 height=21>
                                <font class=normalfont><b>所有分类</b></font></td>
                              </tr>
<tr class=secondalt> <td noWrap width=27%> <font class=normalfont>1:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type1.html" tppabs="http://www.linuxhero.com/docs/type1.html">非技术类</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>2:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type2.html" tppabs="http://www.linuxhero.com/docs/type2.html">基础知识</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>3:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type3.html" tppabs="http://www.linuxhero.com/docs/type3.html">指令大全</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>4:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type4.html" tppabs="http://www.linuxhero.com/docs/type4.html">shell</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>5:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安装启动</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>6:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type6.html" tppabs="http://www.linuxhero.com/docs/type6.html">xwindow</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>7:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type7.html" tppabs="http://www.linuxhero.com/docs/type7.html">kde</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>8:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type8.html" tppabs="http://www.linuxhero.com/docs/type8.html">gnome</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>9:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type9.html" tppabs="http://www.linuxhero.com/docs/type9.html">输入法类</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>10:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type10.html" tppabs="http://www.linuxhero.com/docs/type10.html">美化汉化</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>11:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">网络配置</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>12:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type12.html" tppabs="http://www.linuxhero.com/docs/type12.html">存储备份</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>13:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>14:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type14.html" tppabs="http://www.linuxhero.com/docs/type14.html">编程技术</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>15:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type15.html" tppabs="http://www.linuxhero.com/docs/type15.html">网络安全</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>16:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type16.html" tppabs="http://www.linuxhero.com/docs/type16.html">内核技术</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>17:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type17.html" tppabs="http://www.linuxhero.com/docs/type17.html">速度优化</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>18:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type18.html" tppabs="http://www.linuxhero.com/docs/type18.html">apache</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>19:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type19.html" tppabs="http://www.linuxhero.com/docs/type19.html">email</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>20:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type20.html" tppabs="http://www.linuxhero.com/docs/type20.html">ftp服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>21:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type21.html" tppabs="http://www.linuxhero.com/docs/type21.html">cvs服务</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>22:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type22.html" tppabs="http://www.linuxhero.com/docs/type22.html">代理服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>23:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type23.html" tppabs="http://www.linuxhero.com/docs/type23.html">samba</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>24:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type24.html" tppabs="http://www.linuxhero.com/docs/type24.html">域名服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>25:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type25.html" tppabs="http://www.linuxhero.com/docs/type25.html">网络过滤</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>26:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>27:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type27.html" tppabs="http://www.linuxhero.com/docs/type27.html">nfs</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>28:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type28.html" tppabs="http://www.linuxhero.com/docs/type28.html">oracle</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>29:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type29.html" tppabs="http://www.linuxhero.com/docs/type29.html">dhcp</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>30:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type30.html" tppabs="http://www.linuxhero.com/docs/type30.html">mysql</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>31:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type31.html" tppabs="http://www.linuxhero.com/docs/type31.html">php</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>32:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type32.html" tppabs="http://www.linuxhero.com/docs/type32.html">ldap</a></font></td>    </tr>  </table></td></tr>                            </table>
                          </DIV></TD></TR>
                    <TR vAlign=top>
                        <TD width="80%"> 
                          <DIV align=center><BR>
                          </DIV>
                        </TD></TR></TBODY></TABLE></TD></TR>
                </TABLE></TD></TR>
          </TABLE>
      <TABLE cellSpacing=0 cellPadding=4 width="100%" bgColor=#eeeeee 
        border=0><TBODY>
        <TR>
          <TD width="50%">
              <P><FONT class=middlefont>版权所有 &copy; 2004 <A 
            href="mailto:bjchenxu@sina.com">linux知识宝库</A><BR>
                违者必究. </FONT></P>
            </TD>
          <TD width="50%">
              <DIV align=right><FONT class=middlefont>Powered by: <A 
            href="mailto:bjchenxu@sina.com">Linux知识宝库</A> Version 0.9.0 </FONT></DIV>
            </TD></TR></TBODY></TABLE>
      <CENTER></CENTER></TD></TR>
    </TABLE></CENTER></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -