qmail安装及配置文档3

[root@mail courier-imap-4.0.2]# cd /app/src

[root@mail src]# tar -xjf squirrelmail-1.4.5.tar.bz2

[root@mail src]# cd squirrelmail-1.4.5

[root@mail squirrelmail-1.4.5]# cd plugins/

[root@mail plugins]# tar -xzf ../../quota_usage-1.3-1.2.7.tar.gz

[root@mail plugins]# cp quota_usage/config.php.sample quota_usage/config.php

[root@mail plugins]# cd ..

[root@mail squirrelmail-1.4.5]# ./configure

#选择 “2. Server Settings”=>;“A. Update IMAP Settings”=>;“8. Server software”改成“courier”;回到主菜单,选择“4.General Options”=>;“1. Data Directoryand”改成“/var/www/data/”;再退回主菜单,选择“8. Plugins”=>;添加你希望用到的插件。回到主菜单,选择“10. Languages”,将“ Default Language”改成“zh_CN”“Default Charset”改成“GB2312”。保存退出。

[root@mail squirrelmail-1.4.5]# mv data /var/www/

[root@mail squirrelmail-1.4.5]# chown -R apache:apache /var/www/data

[root@mail squirrelmail-1.4.5]# cd ..

[root@mail src]# mv squirrelmail-1.4.5 /var/www/html/squirrelmail

[root@mail src]#

[root@mail root]# cd /app/src

[root@mail src]# tar -xzf autorespond-2.0.5.tar.gz

[root@mail src]# cd autorespond-2.0.5

[root@mail autorespond-2.0.5]# make

gcc -O2 -Wall -g  autorespond.c -o autorespond

[root@mail autorespond-2.0.5]# make install

install -d /usr/bin /usr/share/man/man1

install autorespond /usr/bin

install autorespond.1 /usr/share/man/man1

[root@mail autorespond-2.0.5]#

[root@mail autorespond-2.0.5]# cd /app/src

[root@mail src]# tar -xzf ezmlm-0.53.tar.gz

 [root@mail src]# tar -zxf ezmlm-idx-5.0.2.tar.gz

 [root@mail src]# cp -rf ezmlm-idx-5.0.2/* ezmlm-0.53/

[root@mail src]# cd ezmlm-0.53

[root@mail ezmlm-0.53]# patch < idx.patch

 [root@mail ezmlm-0.53]# vi conf-lang

ch_GB

The default language to use.

Valid choices are listed in the "text" directory.

 

[root@mail ezmlm-0.53]# make

 [root@mail ezmlm-0.53]# make setup

 

[root@mail ezmlm-0.53]# cd /app/src

[root@mail src]# tar -zxf qmailadmin-1.2.3.tar.gz

[root@mail src]# cd qmailadmin-1.2.3

[root@mail qmailadmin-1.2.3]#

[root@mail qmailadmin-1.2.3]# ./configure --enable-htmldir=/var/www/html --enable-cgibindir=/var/www/cgi-bin \

> --enable-vpopuser=vpopmail --enable-autoresponcder-bin=/usr/bin \

> --disable-ezmlm-mysql --enable-maxusersperpage=20 --enable-maxaliasesperpage=20 --enable-modify-quota \

> --enable-domain-autofill

 

            qmailadmin 1.2.3

            Current settings

---------------------------------------

       cgi-bin dir = /var/www/cgi-bin

          html dir = /var/www/html

         image dir = /var/www/html/images/qmailadmin

         image URL = /images/qmailadmin

      template dir = /usr/local/share/qmailadmin

         qmail dir = /var/qmail

      vpopmail dir = /home/vpopmail

   autorespond dir = /usr/bin

         ezmlm dir = /usr/local/bin/ezmlm

         ezmlm idx = yes

   mysql for ezmlm = no

              help = no

      modify quota = yes

   domain autofill = yes

 modify spam check = noblank.gif

[root@mail qmailadmin-1.2.3]#

[root@mail qmailadmin-1.2.3]# make

[root@mail qmailadmin-1.2.3]# make install-strip

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值