ORF反垃圾邮件系统

邮件服务器-邮件系统-邮件技术论坛(BBS)

 找回密码
 会员注册
查看: 9851|回复: 2
打印 上一主题 下一主题

[转贴]qmail + webmail on Linux9 安装全过程

[复制链接]
跳转到指定楼层
顶楼
发表于 2004-7-19 00:04:53 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Install file list: <br>
* netqmail-1.05.tar.gz <br>
* ucspi-tcp-0.88.tar.gz <br>
* daemontools-0.76.tar.gz <br>
* vpopmail-5.4.0.tar.gz <br>
* mysql-standard-4.0.20-pc-linux-i686.tar.gz <br>
* apache_1.3.31.tar.gz <br>
* php-4.3.7.tar.gz <br>
* autorespond-2.0.4.tar.gz <br>
* ezmlm-0.53.tar.gz <br>
* ezmlm-idx-0.40.tar.gz <br>
* qmailadmin-1.2.0.tar.gz <br>
* sqwebmail-3.5.3.tar.gz <br>
<br>
Patches: <br>
* ezmlm-idx-0.53.400.unified_41.patch <br>
<br>
Scripts: <br>
* qmailctl <br>
* inst_check <br>
* qmailadmin_zh <br>
* zh-cn/* <br>
* images/webmail/* <br>
<br>
Preparation: <br>
Login the system as root. <br>
mkdir -p /usr/local/src <br>
mkdir -p /package <br>
Move the files of installation, patches and scripts except daemontools-0.76.tar.gz to /usr/local/src <br>
Move daemontools-0.76.tar.gz to /package <br>
chmod 1755 /package <br>
<br>
Start installation: <br>
cd /usr/local/src <br>
tar -xvzf netqmail-1.05.tar.gz <br>
cd netqmail-1.05 <br>
./collate.sh # important sentence!!! <br>
cd .. <br>
tar -xvzf ucspi-tcp-0.88.tar.gz <br>
rm *.tar # optional, unless space is very tight <br>
<br>
cd /package <br>
tar -xvzf daemontools-0.76.tar.gz <br>
rm *.tar # optional, again <br>
<br>
################################ <br>
# Install qmail <br>
################################ <br>
mkdir /var/qmail <br>
<br>
mkdir /etc/qmail <br>
ln -s /etc/qmail /var/qmail/control <br>
<br>
# Create users and groups <br>
userdel alias <br>
userdel qmaild <br>
userdel qmaill <br>
userdel qmailp <br>
userdel qmailq <br>
userdel qmailr <br>
userdel qmails <br>
groupdel nofiles <br>
groupdel qmail <br>
<br>
groupadd nofiles <br>
useradd -g nofiles -d /var/qmail/alias alias <br>
useradd -g nofiles -d /var/qmail qmaild <br>
useradd -g nofiles -d /var/qmail qmaill <br>
useradd -g nofiles -d /var/qmail qmailp <br>
groupadd qmail <br>
useradd -g qmail -d /var/qmail qmailq <br>
useradd -g qmail -d /var/qmail qmailr <br>
useradd -g qmail -d /var/qmail qmails <br>
<br>
cd /usr/local/src/netqmail-1.05/netqmail-1.05 <br>
make setup check <br>
<br>
# If your DNS is configured properly, this script should be all you need at this point: <br>
./config <br>
<br>
# Or you can configure your domain. <br>
./config-fast mail.myqmail.com <br>
<br>
################################ <br>
# Install ucspi-tcp <br>
################################ <br>
cd /usr/local/src/ucspi-tcp-0.88 <br>
patch < /usr/local/src/netqmail-1.05/other-patches/ucspi-tcp-0.88.errno.patch <br>
make <br>
make setup check <br>
<br>
################################ <br>
# Install daemontools <br>
################################ <br>
cd /package <br>
tar -xvzf daemontools-0.76.tar.gz <br>
cd /package/admin/daemontools-0.76/src <br>
patch < /usr/local/src/netqmail-1.05/other-patches/daemontools-0.76.errno.patch <br>
cd .. <br>
package/install <br>
<br>
# Start qmail script <br>
vi /var/qmail/rc <br>
######## Write the following section to file:/var/qmail/rc ######## <br>
#!/bin/sh <br>
# Using stdout for logging <br>
# Using control/defaultdelivery from qmail-local to deliver messages by default <br>
exec env - PATH="/var/qmail/bin:$PATH" \ <br>
qmail-start "`cat /var/qmail/control/defaultdelivery`" <br>
######## End ######## <br>
<br>
chmod 755 /var/qmail/rc <br>
mkdir /var/log/qmail <br>
<br>
echo ./Maildir/ >/var/qmail/control/defaultdelivery <br>
<br>
mv /usr/local/src/qmailctl /var/qmail/bin/ <br>
<br>
chmod 755 /var/qmail/bin/qmailctl <br>
ln -s /var/qmail/bin/qmailctl /usr/bin <br>
<br>
# Create the supervise <br>
mkdir -p /var/qmail/supervise/qmail-send/log <br>
mkdir -p /var/qmail/supervise/qmail-smtpd/log <br>
<br>
vi /var/qmail/supervise/qmail-send/run <br>
######## Write the following section to file:/var/qmail/supervise/qmail-send/run ######## <br>
#!/bin/sh <br>
exec /var/qmail/rc <br>
######## End ######## <br>
<br>
vi /var/qmail/supervise/qmail-send/log/run <br>
######## Write the following section to file:/var/qmail/supervise/qmail-send/log/run ######## <br>
#!/bin/sh <br>
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail <br>
######## End ######## <br>
<br>
vi /var/qmail/supervise/qmail-smtpd/run <br>
######## Write the following section to file:/var/qmail/supervise/qmail-smtpd/run ######## <br>
#!/bin/sh <br>
QMAILDUID=`id -u qmaild` <br>
NOFILESGID=`id -g qmaild` <br>
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` <br>
LOCAL=`head -1 /var/qmail/control/me` <br>
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then <br>echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in <br>echo /var/qmail/supervise/qmail-smtpd/run <br>exit 1 <br>
fi <br>
if [ ! -f /var/qmail/control/rcpthosts ]; then <br>echo "No /var/qmail/control/rcpthosts!" <br>echo "Refusing to start SMTP listener because it'll create an open relay" <br>exit 1 <br>
fi <br>
exec /usr/local/bin/softlimit -m 2000000 \ <br>/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ <br>-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 <br>
######## End ######## <br>
<br>
echo 20 > /var/qmail/control/concurrencyincoming <br>
chmod 644 /var/qmail/control/concurrencyincoming <br>
<br>
vi /var/qmail/supervise/qmail-smtpd/log/run <br>
######## Write the following section to file:/var/qmail/supervise/qmail-smtpd/log/run ######## <br>
#!/bin/sh <br>
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd <br>
######## End ######## <br>
<br>
chmod +t /var/qmail/supervise/qmail-send <br>
chmod +t /var/qmail/supervise/qmail-smtpd <br>
<br>
chmod 755 /var/qmail/supervise/qmail-send/run <br>
chmod 755 /var/qmail/supervise/qmail-send/log/run <br>
chmod 755 /var/qmail/supervise/qmail-smtpd/run <br>
chmod 755 /var/qmail/supervise/qmail-smtpd/log/run <br>
<br>
mkdir -p /var/log/qmail/smtpd <br>
chown qmaill /var/log/qmail /var/log/qmail/smtpd <br>
<br>
ln -s /var/qmail/supervise/* /service/ <br>
<br>
# Allow the local host to inject mail via SMTP: <br>
echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp <br>
qmailctl cdb <br>
<br>
# Stop and disable the installed MTA: <br>
/etc/init.d/sendmail stop <br>
/sbin/init.d/sendmail stop <br>
/etc/rc.d/init.d/sendmail stop <br>
<br>
# Uninstall the sendmail: <br>
rpm -e --nodeps sendmail <br>
<br>
# Verify that nothing is listening to the SMTP port (25): <br>
netstat -a | grep smtp <br>
# If something is running, make sure it's not qmail by doing: <br>
qmailctl stop <br>
# The repeat the netstat check: <br>
netstat -a | grep smtp <br>
<br>
# Replace any existing /usr/lib/sendmail with the qmail version: <br>
mv /usr/lib/sendmail /usr/lib/sendmail.old # ignore errors <br>
mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ignore errors <br>
chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old # ignore errors <br>
ln -s /var/qmail/bin/sendmail /usr/lib <br>
ln -s /var/qmail/bin/sendmail /usr/sbin <br>
<br>
# Create these aliases "stone": <br>
echo stone > /var/qmail/alias/.qmail-root <br>
echo stone > /var/qmail/alias/.qmail-postmaster <br>
ln -s .qmail-postmaster /var/qmail/alias/.qmail-mailer-daemon <br>
chmod 644 /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-postmaster <br>
<br>
# Start qmail service: <br>
qmailctl start <br>
<br>
# Now qmail should now be running. You can run "qmailctl stat" to verify that the services are up and running: <br>
# qmailctl stat <br>
# And run "qmailctl cdb" to reload the /etc/tcp.smtp <br>
# qmailctl cdb <br>
<br>
mkdir /var/qmail/supervise/qmail-pop3d <br>
vi /var/qmail/supervise/qmail-pop3d/run <br>
######## Write the following section to file:/var/qmail/supervise/qmail-pop3d/run ######## <br>
#!/bin/sh <br>exec /usr/local/bin/softlimit -m 3000000 \ <br>/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ <br>mail.myqmail.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 <br>
######## End ######## <br>
<br>
mkdir /var/qmail/supervise/qmail-pop3d/log <br>
vi /var/qmail/supervise/qmail-pop3d/log/run <br>
######## Write the following section to file:/var/qmail/supervise/qmail-pop3d/log/run ######## <br>
#!/bin/sh <br>exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \ <br>/var/log/qmail/pop3d <br>
######## End ######## <br>
<br>
mkdir /var/log/qmail/pop3d <br>
chown qmaill /var/log/qmail/pop3d <br>
chmod 755 /var/qmail/supervise/qmail-pop3d/run <br>
chmod 755 /var/qmail/supervise/qmail-pop3d/log/run <br>
ln -s /var/qmail/supervise/qmail-pop3d /service <br>
<br>
vi /var/qmail/bin/qmailctl <br>
######## Add the following section to "start" part of the file:/var/qmail/bin/qmailctl ######## <br>
if svok /service/qmail-pop3d ; then <br>
svc -u /service/qmail-pop3d /service/qmail-pop3d/log <br>
else <br>
echo qmail-pop3d supervise not running <br>
fi <br>
######## End ######## <br>
<br>
######## Add the following section to "stop" part of the file:/var/qmail/bin/qmailctl ######## <br>
echo " qmail-pop3d" <br>
svc -d /service/qmail-pop3d /service/qmail-pop3d/log <br>
######## End ######## <br>
<br>
######## Add the following section to "stat" part of the file:/var/qmail/bin/qmailctl ######## <br>
svstat /service/qmail-pop3d <br>
svstat /service/qmail-pop3d/log <br>
######## End ######## <br>
<br>
######## Add the following section to "pause" part of the file:/var/qmail/bin/qmailctl ######## <br>
echo "Pausing qmail-pop3d" <br>
svc -p /service/qmail-pop3d <br>
######## End ######## <br>
<br>
######## Add the following section to "cont" part of the file:/var/qmail/bin/qmailctl ######## <br>
echo "Continuing qmail-pop3d" <br>
svc -c /service/qmail-pop3d <br>
######## End ######## <br>
<br>
######## Add the following section to "restart" part of the file:/var/qmail/bin/qmailctl ######## <br>
echo "* Restarting qmail-pop3d." <br>
svc -t /service/qmail-pop3d /service/qmail-pop3d/log <br>
######## End ######## <br>
<br>
# Test the Installation: <br>
cd /usr/local/src <br>
sh inst_check <br>
# When everything looks right, inst_check will report: <br>
# Congratulations, your LWQ installation looks good! <br>
<br>
沙发
 楼主| 发表于 2004-7-19 00:05:11 | 只看该作者

Re:qmail + webmail on Linux9 安装全过程

################################ <br>
# Install mysql <br>
################################ <br>
groupadd mysql <br>
useradd -g mysql mysql <br>
<br>
cd /usr/local <br>
tar -xvzf /usr/local/src/mysql-standard-4.0.20-pc-linux-i686.tar.gz <br>
ln -s mysql-standard-4.0.20-pc-linux-i686 mysql <br>
<br>
cd mysql <br>
scripts/mysql_install_db <br>
<br>
cd .. <br>
chown -R root.mysql mysql-standard-4.0.20-pc-linux-i686 <br>
chmod -R 640 mysql <br>
chmod -R u+X,g+X mysql <br>
chmod -R ug+x mysql/bin <br>
chmod -R g+w mysql/data <br>
chmod -R u+x mysql/scripts <br>
<br>
cp /usr/local/mysql/support-files/my-medium.cnf /usr/local/mysql/data/my.cnf <br>
chgrp mysql /usr/local/mysql/data/my.cnf <br>
<br>
cd /usr/local/mysql <br>
bin/safe_mysqld --user=mysql & <br>
<br>
# Set the root password <br>
/usr/local/mysql/bin/mysqladmin -u root password 'secret' <br>
<br>
# Configure MySQL so it is running all the time from bootup onwards <br>
cp /usr/local/mysql/support-files/mysql.server /etc/rc.d/init.d/mysql <br>
chmod 744 /etc/rc.d/init.d/mysql <br>
chkconfig --add mysql <br>
<br>
################################ <br>
# Install apache <br>
################################ <br>
cd /usr/local/src <br>
chown -R root.root apache_1.3.31.tar.gz <br>
tar -xvzf apache_1.3.31.tar.gz <br>
<br>
groupadd www <br>
useradd -g www www <br>
<br>
cd /usr/local/src/apache_1.3.31 <br>
./configure \ <br>--prefix=/usr/local/apache \ <br>--enable-module=so \ <br>--enable-module=rewrite \ <br>--enable-shared=rewrite \ <br>--server-uid=www \ <br>--server-gid=www <br>
<br>
make <br>
make install <br>
<br>
################################ <br>
# Install php <br>
################################ <br>
cd /usr/local/src <br>
tar -xvzf php-4.3.7.tar.gz <br>
chown -R root.root php-4.3.7.tar.gz <br>
<br>
cd php-4.3.7 <br>
./configure \ <br>--with-mysql=/usr/local/mysql \ <br>--with-apxs=/usr/local/apache/bin/apxs <br>
<br>
make <br>
make install <br>
<br>
cp php.ini-dist /usr/local/lib/php.ini <br>
<br>
vi /usr/local/lib/php.ini <br>
######## Modify the /usr/local/lib/php.ini file and make sure it contains the following commands. ######## <br>
max_execution_time=60 <br>
memory_limit=10M <br>
post_max_size=8M <br>
upload_max_filesize=8M <br>
file_uploads=On <br>
log_errors=On <br>
error_log=/usr/local/apache/logs/php_error_log <br>
######## End ######## <br>
<br>
chown -R root.www /usr/local/lib/php <br>
chmod -R g-w,o-rwx /usr/local/lib/php <br>
<br>
vi /usr/local/apache/conf/httpd.conf <br>
######## Modify the /usr/local/apache/conf/httpd.conf file and make sure it contains the following commands. ######## <br>
User www <br>
Group www <br>
ServerAdmin postmaster@myqmail.com <br>
ServerName mail.five-star.cn <br>
# Following line should be present already as it would be inserted by the PHP make <br>
# Make sure you move it outside of the IfDefineSSL section if the make (incorrectly) put it there <br>
LoadModule php4_module libexec/libphp4.so <br>
# uncomment (or add) the following line <br>
AddType application/x-httpd-php .php <br>
# Add the index.php into this line so apache will use this file as a default in addition to index.html <br>
DirectoryIndex index.php index.html <br>
######## End ######## <br>
<br>
rm -Rf /usr/local/apache/htdocs/* <br>
rm -f /usr/local/apache/index.html.* <br>
rm -Rf /usr/local/apache/cgi-bin/* <br>
<br>
cd /usr/local <br>
chown -R root.root apache <br>
chmod 755 apache <br>
chmod -R 600 apache/* <br>
chmod -R u+X apache <br>
<br>
cd apache <br>
chmod -R u+x bin <br>
chgrp -R www cgi-bin <br>
chmod -R u+x,g+x cgi-bin <br>
chgrp -R www icons <br>
chmod -R g+rX icons <br>
chgrp -R www logs <br>
chmod g+wX logs <br>
chgrp -R www htdocs <br>
chmod -R g+rX htdocs <br>
<br>
# Run apache every time at bootup. <br>
rm -rf /etc/rc.d/init.d/httpd <br>
<br>
vi /etc/rc.d/init.d/httpd <br>
######## Create the /etc/rc.d/init.d/httpd file with the following commands. ######## <br>
#!/bin/sh <br>
# <br>
# Startup script for the Apache Web Server <br>
# <br>
# chkconfig: 345 85 15 <br>
# description: Apache is a World Wide Web server. It is used to serve \ <br>
# HTML files and CGI. <br>
# processname: httpd <br>
# pidfile: /var/run/httpd.pid <br>
<br>
<br>
# Source function library. <br>
./etc/rc.d/init.d/functions <br>
<br>
# See how we were called. <br>
case "$1" in <br>start) <br>
echo -n "Starting httpd: " <br>
daemon /usr/local/apache/bin/httpd <br>
echo <br>
touch /var/lock/subsys/httpd <br>;; <br>stop) <br>
echo -n "Shutting down http: " <br>
killproc httpd <br>
echo <br>
rm -f /var/lock/subsys/httpd <br>
rm -f /var/run/httpd.pid <br>;; <br>status) <br>
status httpd <br>;; <br>restart) <br>
$0 stop <br>
$0 start <br>;; <br>reload) <br>
echo -n "Reloading httpd: " <br>
killproc httpd -HUP <br>
echo <br>;; <br>*) <br>
echo "Usage: $0 {start|stop|restart|reload|status}" <br>
exit 1 <br>
esac <br>
<br>
exit 0 <br>
######## End ######## <br>
<br>
chown root.root /etc/rc.d/init.d/httpd <br>
chmod 744 /etc/rc.d/init.d/httpd <br>
chkconfig --add httpd <br>
<br>
################################ <br>
# Install vpopmial <br>
################################ <br>
groupadd vchkpw <br>
useradd -g vchkpw vpopmail <br>
<br>
cd /usr/local/src <br>
tar -xvzf vpopmail-5.4.0.tar.gz <br>
chown -R root.root vpopmail-5.4.0 <br>
cd vpopmail-5.4.0 <br>
<br>
mkdir ~vpopmail/etc <br>
chown vpopmail.vchkpw ~vpopmail/etc <br>
echo "localhost|0|vpopmailuser|vpoppasswd|vpopmail" > ~vpopmail/etc/vpopmail.mysql <br>
chown vpopmail.vchkpw ~vpopmail/etc/vpopmail.mysql <br>
chmod 640 ~vpopmail/etc/vpopmail.mysql <br>
<br>
/usr/local/mysql/bin/mysql --password="secret" <br>
CREATE DATABASE vpopmail; <br>
GRANT select,insert,update,delete,create,drop ON vpopmail.* TO vpopmailuser@localhost IDENTIFIED BY 'vpoppasswd'; <br>
quit <br>
<br>
./configure \ <br>--disable-roaming-users \ <br>--enable-logging=p \ <br>--disable-passwd \ <br>--enable-clear-passwd \ <br>--disable-domain-quotas \ <br>--enable-auth-module=mysql \ <br>--disable-many-domains \ <br>--enable-auth-logging \ <br>--enable-mysql-logging \ <br>--enable-valias \ <br>--disable-mysql-limits <br>
<br>
make <br>
make install-strip <br>
<br>
vi ~vpopmail/etc/vlimits.default <br>
default_quota 20971520 # Set the mail box default size 20M. <br>
<br>
echo "myqmail.com" > /home/vpopmail/etc/defaultdomain <br>
<br>
# Setup the quota warning message that is sent to users when they are at 90% quota. <br>
vi quotawarn.msg <br>
######## Create the quotawarn.msg file with the following commands. ######## <br>
From: SomeCompany Postmaster <postmaster@myqmail.com> <br>
Reply-To: postmaster@myqmail.com <br>
To: SomeCompany User:; <br>
Subject: Mail quota warning <br>
Mime-Version: 1.0 <br>
Content-Type: text/plain; charset=iso-8859-1 <br>
Content-Transfer-Encoding: 7bit <br>
<br>
Your mailbox on the server is now more than 90% full. <br>
<br>
So that you can continue to receive mail, <br>
you need to remove some messages from your mailbox. <br>
<br>
If you require assistance with this, <br>
please contact our support department : <br>
<br>email : support@myqmail.com <br>Tel : xx xxxx xxxx <br>
######## End ######## <br>
<br>
cp quotawarn.msg /home/vpopmail/domains/.quotawarn.msg <br>
<br>
echo "Message rejected. Not enough storage space in user's mailbox to accept message." > /home/vpopmail/domains/.over-quota.msg <br>
<br>
# add a domain <br>
/home/vpopmail/bin/vadddomain myqmail.com myqmail <br>
<br>
# add a test account <br>
/home/vpopmail/bin/vadduser stone@myqmail.com stone <br>
<br>
# delete a user <br>
# /home/vpopmail/bin/vdeluser stone@myqmail.com <br>
<br>
# delete a domain <br>
# /home/vpopmail/bin/vdeldomain myqmail.com <br>
<br>
################################ <br>
# Install autoresponder <br>
################################ <br>
cd /usr/local/src <br>
tar -xvzf autorespond-2.0.4.tar.gz <br>
chown -R root.root autorespond-2.0.4 <br>
<br>
cd autorespond-2.0.4 <br>
make <br>
make install <br>
<br>
################################ <br>
# Install ezmlm / ezmlm-idx <br>
################################ <br>
cd /usr/local/src <br>
tar -xvzf ezmlm-0.53.tar.gz <br>
chown -R root.root ezmlm-0.53 <br>
<br>
cd /usr/local/src <br>
tar -xvzf ezmlm-idx-0.40.tar.gz <br>
chown -R root.root ezmlm-idx-0.40 <br>
<br>
cp -R ezmlm-idx-0.40/* ezmlm-0.53/ <br>
# (you need to press y quite a few times to allow the patch files to overwrite the original files) <br>
cd ezmlm-0.53 <br>
patch < idx.patch <br>
patch -p1 < ../ezmlm-idx-0.53.400.unified_41.patch <br>
<br>
make <br>
make man <br>
make setup <br>
<br>
################################ <br>
# Install qmailadmin <br>
################################ <br>
cd /usr/local/src <br>
tar -xvzf qmailadmin-1.2.0.tar.gz <br>
chown -R root.root qmailadmin-1.2.0 <br>
<br>
cd qmailadmin-1.2.0 <br>
./configure \ <br>--enable-htmldir=/usr/local/apache/htdocs \ <br>--enable-cgibindir=/usr/local/apache/cgi-bin \ <br>--enable-maxusersperpage=12 \ <br>--enable-maxaliasesperpage=12 \ <br>--enable-modify-quota \ <br>--disable-ezmlm-mysql \ <br>--disable-help <br>
<br>
make <br>
make install-strip <br>
<br>
# Chinese qmailadmin <br>
# Backup the orginal files. <br>
mv /usr/local/share/qmailadmin/lang/en /usr/local/share/qmailadmin/lang/en_bak <br>
mv /usr/local/src/qmailadmin_zh /usr/local/share/qmailadmin/lang/en <br>
<br>
# Test the qmailadmin <br>
<a target=_blank href=http://mail.myqmail.com/cgi-bin/qmailadmin>http://mail.myqmail.com/cgi-bin/qmailadmin</a> <br>
<br>
################################ <br>
# Install sqwebmail <br>
################################ <br>
cd /usr/local/src <br>
tar -xvzf sqwebmail-3.5.3.tar.gz <br>
chown -R root.root sqwebmail-3.5.3.tar.gz <br>
<br>
cd sqwebmail-3.5.3 <br>
./configure \ <br>--without-authpwd --without-authshadow --without-authpam \ <br>--without-authuserdb --without-authldap --without-authdaemon \ <br>--with-authvchkpw --with-fcgi --enable-unicode=gb2312 \ <br>--enable-webpass=vpopmail \ <br>--enable-cgibindir=/usr/local/apache/cgi-bin \ <br>--enable-imagedir=/usr/local/apache/htdocs/leadbbsfile/webmail \ <br>--enable-mimetypes=/usr/local/apache/htdocs \ <br>--enable-mimecharset=gb2312 \ <br>--with-defaultlang=zh <br>
<br>
make <br>
make install <br>
make install-configure <br>
<br>
cp -a /usr/local/apache/htdocs/leadbbsfile/webmail /usr/local/apache/htdocs/ <br>
mv -f /usr/local/src/zh-cn/* /usr/local/share/sqwebmail/html/zh-cn <br>
mv /usr/local/src/leadbbsfile/webmail/* /usr/local/apache/htdocs/leadbbsfile/webmail/ <br>
<br>
# Test the webmail <br>
<a target=_blank href=http://mail.myqmail.com/cgi-bin/sqwebmail>http://mail.myqmail.com/cgi-bin/sqwebmail</a> <br>
<br>
Download the source <br>
* qmail, <a target=_blank href=http://www.qmail.org/netqmail-1.05.tar.gz>http://www.qmail.org/netqmail-1.05.tar.gz</a> <br>
* ucspi-tcp, <a target=_blank href=ftp://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz>ftp://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz</a> <br>
* daemontools, <a target=_blank href=ftp://cr.yp.to/daemontools/daemontools-0.76.tar.gz>ftp://cr.yp.to/daemontools/daemontools-0.76.tar.gz</a> <br>
<br>
References: <br>
<a target=_blank href=http://www.lifewithqmail.org/lwq.html>http://www.lifewithqmail.org/lwq.html</a> <br>
<a target=_blank href=http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm>http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm</a> <br>
<a target=_blank href=http://cr.yp.to>http://cr.yp.to</a> <br>
藤椅
发表于 2004-9-10 09:16:37 | 只看该作者

re:按照楼主发的贴子配好后,还给同事分配了几...

按照楼主发的贴子配好后,还给同事分配了几个邮箱测试已经半个月了没什么问题。今天下午开始只能发邮件,服务器收不到任何邮件了。用163.com的邮箱发往qmail服务器后,收不到新邮件,也没有退回163.com。找不到什么原因。redhat8.0+igenus<br>
<br>
以前我的信箱收到过这样的服务器消息,几乎是每天都有的<br>
<br>
/etc/cron.daily/00webalizer:<br>
<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
Warning: Truncating oversized request field<br>
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

小黑屋|手机版|Archiver|邮件技术资讯网

GMT+8, 2024-12-28 02:34

Powered by Discuz! X3.2

© 2001-2016 Comsenz Inc.

本论坛为非盈利中立机构,所有言论属发表者个人意见,不代表本论坛立场。内容所涉及版权和法律相关事宜请参考各自所有者的条款。
如认定侵犯了您权利,请联系我们。本论坛原创内容请联系后再行转载并务必保留我站信息。此声明修改不另行通知,保留最终解释权。
*本论坛会员专属QQ群:邮件技术资讯网会员QQ群
*本论坛会员备用QQ群:邮件技术资讯网备用群

快速回复 返回顶部 返回列表