qmail qmailadmin インストール

autorespond
[root@centos ~]# cd /usr/local/src
[root@centos src]# wget http://www.inter7.com/devel/autorespond-2.0.5.tar.gz
[root@centos src]# tar zxvf autorespond-2.0.5.tar.gz
[root@centos src]# cd autorespond-2.0.5
[root@centos autorespond-2.0.5]# make
[root@centos autorespond-2.0.5]# make install
[root@centos autorespond-2.0.5]# cd
[root@centos ~]# rm -fr autorespond-2.0.5
[root@centos ~]# rm -f autorespond-2.0.5.tar.gz
ezmlm
[root@centos ~]# cd /usr/local/src
[root@centos src]# wget http://cr.yp.to/software/ezmlm-0.53.tar.gz
[root@centos src]# wget http://ezmlm.sericyb.com.au/archive/5.1.2/ezmlm-idx-5.1.2.tar.gz
[root@centos src]# tar zxvf ezmlm-0.53.tar.gz
[root@centos src]# tar zxvf ezmlm-idx-5.1.2.tar.gz
[root@centos src]# mv -f ezmlm-idx-5.1.2/* ezmlm-0.53/
[root@centos src]# cd ezmlm-0.53
[root@centos ezmlm-0.53]# vi error.h
extern int errno;
↓
#include<errno.h> ←変更
[root@centos ezmlm-0.53]# patch < idx.patch [root@centos ezmlm-0.53]# make [root@centos ezmlm-0.53]# make man [root@centos ezmlm-0.53]# make setup [root@centos ezmlm-0.53]# cd [root@centos ~]# rm -fr ezmlm-0.53 [root@centos ~]# rm -fr ezmlm-idx-5.1.2 [root@centos ~]# rm -f ezmlm-0.53.tar.gz [root@centos ~]# rm -f ezmlm-idx-5.1.2.tar.gz
qmailadmin
[root@centos ~]# cd /usr/local/src
[root@centos src]# wget http://jaist.dl.sourceforge.net/sourceforge/qmailadmin/qmailadmin-1.2.15.tar.gz 
[root@centos src]# tar zxvf qmailadmin-1.2.15.tar.gz
[root@centos src]# cd qmailadmin-1.2.15
[root@centos qmailadmin-1.2.15]# ./configure \
--enable-htmldir=/var/www/html \
--enable-cgibindir=/var/www/cgi-bin \
--enable-cgipath=/cgi-bin/qmailadmin \
--enable-imagedir=/var/www/icons/qmailadmin \
--enable-imageurl=/icons/qmailadmin \
--enable-ezmlmdir=n

[root@centos qmailadmin-1.2.15]# make
[root@centos qmailadmin-1.2.15]# make install-strip
[root@centos qmailadmin-1.2.15]# cd
[root@centos ~]# rm -fr qmailadmin-1.2.15
[root@centos ~]# rm -f qmailadmin-1.2.15.tar.gz
[root@centos ~]# vi /home/vpopmail/domains/centos.orz/.qmailadmin-limits
maxpopaccounts		50
maxaliases		50
maxforwards		50
maxmailinglists		50
maxautoresponders	50
default_quota		1048576000
[root@centos ~]# vi /etc/httpd/conf/httpd.conf
<Directory "/var/www/icons">
    Options -Indexes MultiViews FollowSymLinks
    AllowOverride None
    ↓
    AllowOverride AuthConfig Limit ←変更
    Order allow,deny
    Allow from all
</Directory>
[root@centos ~]# /etc/rc.d/init.d/httpd restart [root@centos ~]# /usr/bin/htpasswd -c /var/www/cgi-bin/.htpasswd user_name New password: ←パスワード入力 Re-type new password: ←パスワード再入力 [root@centos ~]# vi /var/www/cgi-bin/.htaccess
AuthType Basic
AuthName "Please Enter Your Password"
AuthUserFile /var/www/cgi-bin/.htpasswd
Require valid-user
Home PageTop