ezmlm and ezmlm-idx
# cd /root/qmailrocks
# tar zxvf ezmlm-0.53-idx-0.41.tar.gz
# cd ezmlm-0.53-idx-0.41
# make && make setup
qmail autoresponder
# cd /root/qmailrocks
# tar zxvf autorespond-2.0.5.tar.gz
# cd autorespond-2.0.5
vpopmail
# mkdir -p ~vpopmail/etc
# chown vpopmail:vchkpw ~vpopmail/etc
# echo "localhost|0|vpopmailuser|password|vpopmail" > ~vpopmail/etc/vpopmail.mysql
# chown vpopmail:vchkpw ~vpopmail/etc/vpopmail.mysql
# chmod 640 ~vpopmail/etc/vpopmail.mysql
# mysql -u root -p
GRANT ALL PRIVILEGES ON vpopmail.* TO vpopmailuser@localhost IDENTIFIED BY 'your_vpopmailuser_mysql_password';
FLUSH PRIVILEGES;
# cd /root/qmailrocks
# tar zxvf vpopmail-5.4.13.tar.gz
# cd vpopmail-5.4.13
# ./configure --enable-logging=p --enable-auth-module=mysql --disable-passwd --enable-clear-passwd --disable-many-domains --enable-auth-logging --enable-sql-logging --enable-valias --disable-mysql-limits
# make && make install-strip
# chown -R vpopmail.vchkpw /home/vpopmail
Vqadmin
# cd /root/qmailrocks
# tar zxvf vqadmin-2.3.6.tar.gz
# cd vqadmin-2.3.6
# ./configure --enable-cgibindir=/var/www/cgi-bin --enable-htmldir=/var/www
# make && make install-strip
configure apache webserver
# vim /etc/apache2/sites-enabled/000-default
put this syntax
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
<Directory "/var/www/cgi-bin/vqadmin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory$gt;
<Directory "/var/www/cgi-bin">
AllowOverride AuthConfig
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order deny,allow
Deny from all
Allow from all
</Directory>
# cd /var/www/cgi-bin/vqadmin/
# vim .htaccess
put this text
AuthType Basic
AuthUserFile /usr/local/apache/conf/vqadmin.passwd
AuthName admin
require valid-user
satisfy any
# chown -R www-data .htaccess
# htpasswd -bc /etc/apache2/vqadmin.passwd admin [your_vqadmin_password]
# chmod 644 /etc/apache2/vqadmin.passwd
# apache2ctl stop; apache2ctl start
now test with accessing http://yourdomain/cgi-bin/vqadmin.cgi and you will get prompt that need input a username and password, after authentication u will get page vqadmin administration.
maildir for qmail quota
# cd /root/qmailrocks
# tar zxvf maildrop-1.6.3.tar.gz
# cd maildrop-1.6.3
# ./configure --prefix=/usr/local --exec-prefix=/usr/local --enable-maildrop-uid=root --enable-maildrop-gid=vchkpw --enable-maildirquota
# make && make install-strip && make install-man
qmailadmin
# cd /root/qmailrocks
# tar zxvf qmailadmin-1.2.9.tar.gz
# cd qmailadmin-1.2.9
# ./configure --enable-cgibindir=/var/www/cgi-bin --enable-htmldir=/var/www/cgi-bin --enable-modify-quota
# make && make install-strip
until this, everything what we need to make your mail server backend work.
thx
No comments:
Post a Comment