Skip to content

조회 수 9326 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

courier-imap install

 

http://www.courier-mta.org/imap/

http://www.courier-mta.org/download.php

 

1. ( courier-authlib )

 

# tar xvf courier-authlib-0.57.20050930.tar
# chown -R root.root courier-authlib-0.57.20050930
# cd courier-authlib-0.57.20050930
# ./configure \
--prefix=/usr/local/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

# make
# make install
# make install-configure

 

# vi /usr/local/courier-authlib/etc/authlib/authdaemonrc
authmodulelist="authvchkpw"

 

# cp courier-authlib.sysvinit /etc/rc.d/init.d/courier-authlib
# chmod 755 /etc/rc.d/init.d/courier-authlib


 

2. ( courier-imap-4.0.6 )

 

# tar xvf courier-imap-4.0.6.tar
# chown -R root.root courier-imap-4.0.6
# su test -> 일반유저로 로그인
# cd courier-imap-4.0.6

CFLAGS="-DHAVE_OPEN_SMTP_RELAY"; export CFLAGS \
./configure \
--prefix=/usr/local/courier-imap \
--disable-root-check \
--with-ssl \
--with-redhat

# make
# make check  =>컴파일 이상 없이 되었는지 체크
------- 일반유저 작업완료 ---------------------------

 

# find /* > /root/courier-imap1

# make install-strip  ->실제 설치 시작
# make install-configure  ->설정 파일 설치

# find /* > /root/courier-imap2
# diff /root/courier-imap1 /root/courier-imap2 > courier-imap-install

 

# cp -f courier-imap.sysvinit /etc/rc.d/init.d/courier-imap
# chown root.root /etc/rc.d/init.d/courier-imap
# chmod 700 /etc/rc.d/init.d/courier-imap

 

# vi /etc/rc.d/init.d/courier-imap

--------------------- /etc/rc.d/init.d/courier-imap  start ---------------------------------
#!/bin/sh
#
# This is a sample /etc/init.d file for Courier-IMAP
#
# chkconfig: 2345 80 30
# description: Courier-IMAP - IMAP server
#
#
#

prefix=/usr/local/courier-imap
exec_prefix=/usr/local/courier-imap
bindir=${exec_prefix}/bin
sbindir=${exec_prefix}/sbin

case "$1" in
start)
        cd /
        . ${prefix}/etc/imapd
        touch /var/lock/subsys/courier-imap

        echo -n "Starting Courier-IMAP server:"

        case x$IMAPDSTART in
        x[yY]*)
                # Start daemons.
                /usr/local/courier-imap/libexec/imapd.rc start
                echo -n " imap"
                ;;
        esac

        . ${prefix}/etc/imapd-ssl
        case x$IMAPDSSLSTART in
        x[yY]*)
                if test -x $COURIERTLS
                then

                # First time we start this, generate a dummy SSL certificate.

                        if test ! -f $TLS_CERTFILE
                        then
                                echo -n " generating-SSL-certificate..."
                                ${prefix}/share/mkimapdcert >/dev/null 2>&1
                        fi
                        /usr/local/courier-imap/libexec/imapd-ssl.rc start
                        echo -n " imap-ssl"
                fi
                ;;
        esac

        echo ""
        ;;
stop)
        echo -n "Stopping Courier-IMAP server:"
        . ${prefix}/etc/imapd
        . ${prefix}/etc/imapd-ssl
        /usr/local/courier-imap/libexec/imapd.rc stop
        echo -n " imap"
        if test -x $COURIERTLS
        then
                /usr/local/courier-imap/libexec/imapd-ssl.rc stop
                echo -n " imap-ssl"
        fi

        echo ""
        rm -f /var/lock/subsys/courier-imap
        ;;
restart)
        $0 stop
        $0 start
        ;;
esac
exit 0
-------------------- /etc/rc.d/init.d/courier-imap  end -----------------------------------

 

# chkconfig --add courier-imap
# chkconfig --level 345 courier-imap on

 

# vi /usr/local/courier-imap/etc/imapd
ADDRESS=192.100.10.43
.......................
IMAPDSTART=YES


List of Articles
번호 제목 글쓴이 날짜 조회 수
82 네임서버에 SPF 적용하기(bind) l2zeo 2010.05.29 15278
81 개인서버에서 hotmail 쪽으로 발송이 안됨 ADMINPLAY 2010.06.04 20557
80 간단한 메일 로그 분석 ADMINPLAY 2009.06.04 7835
79 [팁] 리눅스 SendMail 속도 UP ADMINPLAY 2012.01.26 18671
78 [스팸관련] 외국 RBL 확인하는 방법 ADMINPLAY 2009.07.18 8741
77 [SMTP(메일발송)] 에러코드 ADMINPLAY 2009.07.18 12153
76 [Imap] Qmail + Vpopmail + Dovecot 연동하기 ADMINPLAY 2009.06.01 10505
75 zimbra 메일솔루션 ldap_url and ldap_master_url cannot ... ADMINPLAY 2014.02.07 7599
74 You have new mail in /var/spool/mail/root ADMINPLAY 2009.04.14 10158
73 WWW. KISARBL.OR.KR file ADMINPLAY 2009.03.04 9006
72 vpopmail 에서 각 바이너리 파일들의 용도 ADMINPLAY 2009.06.04 8771
71 vpopmail 과 mysql 연동 관련 장애 처리 ADMINPLAY 2009.08.08 8669
70 virtualtable 설정 ADMINPLAY 2010.11.21 35625
69 UNIX 및 Linux 서버에 대한 Resource 모니터링 ADMINPLAY 2010.11.20 17793
68 telnet을 이용한 SMTP 테스트 ADMINPLAY 2009.11.26 11924
67 telnet 을 사용한 메일서버 접속 ADMINPLAY 2009.10.20 8816
66 supervise: fatal: unable to acquire qmail-send/supervi... ADMINPLAY 2009.06.04 9837
65 squirremail "알수 없는 사용자 로그인 에러 조치 사항" ADMINPLAY 2009.06.04 7992
64 squirrelmail (다람쥐메일) 설치하기관리자 file ADMINPLAY 2009.11.24 11045
63 SPF(Sender Policy Framework) : 메일서버등록제 ADMINPLAY 2010.06.04 19214
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234