courier-authlib 와 courier-imap 의 설치

by ADMINPLAY posted Jun 21, 2010
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
yum -y install tcl
yum -y install expect

### courier-authlib-0.58 설치 ###
cd /usr/local/src
wget
http://shupp.org/software/courier-authlib-0.58.tar.bz2
tar jvxf courier-authlib-0.58.tar.bz2
chown -R root.root courier-authlib-0.58
cd courier-authlib-0.58


./configure --prefix=/usr/local/server/courier-authlib --without-authpam --without-authldap --without-authpwd --without-authmysql --without-authpgsql --without-authshadow --without-authuserdb --without-authcustom --without-authcram --without-authpipe --with-authvchkpw --with-redhat

※안될경우 그냥 default로 설정(트러블슈팅도 귀찮다)
./configure --prefix=/usr/local/server/courier-authlib --with-redhat

make && make install && make install-configure

cp courier-authlib.sysvinit /etc/rc.d/init.d/courier-authlib
chmod 744 /etc/rc.d/init.d/courier-authlib
chkconfig --add courier-authlib
/etc/rc.d/init.d/courier-authlib start



### courier-imap-4.0.6 설치 ###
cd /usr/local/src
wget http://optusnet.dl.sourceforge.net/sourceforge/courier/courier-imap-4.0.6.tar.bz2
tar jvxf courier-imap-4.0.6.tar.bz2
chown -R root.root courier-imap-4.0.6
cd courier-imap-4.0.6

export COURIERAUTHCONFIG=/usr/local/server/courier-authlib/bin/courierauthconfig
export CPPFLAGS=-I/usr/local/server/courier-authlib/include
./configure --prefix=/usr/local/server/courier-imap --disable-root-check --with-redhat

make && make install && make install-configure

vi /usr/local/server/courier-imap/etc/imapd

MAXDAEMONS=40
MAXPERIP=40
IMAP_EMPTYTRASH=Trash:7,Sent:30
IMAPDSTART=YES

cp courier-imap.sysvinit /etc/rc.d/init.d/courier-imap
chmod 744 /etc/rc.d/init.d/courier-imap
chkconfig --add courier-imap
/etc/rc.d/init.d/courier-imap start

Articles

1 2 3 4 5 6