Skip to content

조회 수 9371 추천 수 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


  1. /etc/mail/submit.cf: line 0: cannot open: Permission d...

    Date2009.06.04 ByADMINPLAY Views9079
    Read More
  2. 웹메일에서 메일 발송시 php_network_getaddress: getaddr...

    Date2009.06.04 ByADMINPLAY Views9573
    Read More
  3. CNAME lookup failed temporarily. (#4.4.3)

    Date2009.06.04 ByADMINPLAY Views12482
    Read More
  4. qmail 재설치시 삭제 하거나 이름 변경해야 할것들

    Date2009.06.04 ByADMINPLAY Views9527
    Read More
  5. qmailadmin 설치

    Date2009.06.04 ByADMINPLAY Views9554
    Read More
  6. courier-authlib, courier-imap설치

    Date2009.06.04 ByADMINPLAY Views9371
    Read More
  7. dovecot 메일 받을때 chdir 에러 발생시 해결 방안

    Date2009.06.04 ByADMINPLAY Views9635
    Read More
  8. 무료 웹메일 라운드 큐브 Roundcubemail 0.2.1 설치

    Date2009.06.04 ByADMINPLAY Views10557
    Read More
  9. qmail + vpopmail + maildrop + spamassassin + qmail-sca...

    Date2009.06.02 ByADMINPLAY Views11707
    Read More
  10. [Imap] Qmail + Vpopmail + Dovecot 연동하기

    Date2009.06.01 ByADMINPLAY Views10528
    Read More
  11. 메일 포워딩 시키기

    Date2009.05.22 ByADMINPLAY Views10959
    Read More
  12. 메일 오류(되돌아올때)

    Date2009.05.22 ByADMINPLAY Views10788
    Read More
  13. dns서버가 없는경우 sendmail의 주의점

    Date2009.05.22 ByADMINPLAY Views11143
    Read More
  14. sendmail log분석

    Date2009.05.22 ByADMINPLAY Views10573
    Read More
  15. You have new mail in /var/spool/mail/root

    Date2009.04.14 ByADMINPLAY Views10187
    Read More
  16. 메일서버의 장애와 대처 방법

    Date2009.03.04 ByADMINPLAY Views11255
    Read More
  17. WWW. KISARBL.OR.KR

    Date2009.03.04 ByADMINPLAY Views9039
    Read More
  18. sendmail.cf 자주쓰는 설정

    Date2008.12.14 ByADMINPLAY Views9212
    Read More
  19. 리턴 메일 분석

    Date2008.12.14 ByADMINPLAY Views149825
    Read More
  20. sendmail.cf 파일 내용 들여다보기

    Date2008.11.10 ByADMINPLAY Views8625
    Read More
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234