Skip to content

조회 수 9325 추천 수 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. No Image 04Jun
    by ADMINPLAY
    2009/06/04 by ADMINPLAY
    Views 9030 

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

  2. No Image 04Jun
    by ADMINPLAY
    2010/06/04 by ADMINPLAY
    Views 19736 

    /var/spool/clientmqueue 에 파일 적재될 때

  3. No Image 23Aug
    by ADMINPLAY
    2009/08/23 by ADMINPLAY
    Views 12553 

    /var/spool/mail root계정 및 일반계정 용량삭제

  4. No Image 04Jun
    by ADMINPLAY
    2009/06/04 by ADMINPLAY
    Views 8737 

    /var/spool/mail/에 저장된 메일 다른 메일로 보내기

  5. No Image 01Nov
    by ADMINPLAY
    2009/11/01 by ADMINPLAY
    Views 9416 

    /var/spool/mail/에 저장된 메일 다른 메일로 보내기

  6. No Image 04Jun
    by ADMINPLAY
    2009/06/04 by ADMINPLAY
    Views 12424 

    CNAME lookup failed temporarily. (#4.4.3)

  7. No Image 21Jun
    by ADMINPLAY
    2010/06/21 by ADMINPLAY
    Views 18266 

    courier-authlib 와 courier-imap 의 설치

  8. No Image 04Jun
    by ADMINPLAY
    2009/06/04 by ADMINPLAY
    Views 9325 

    courier-authlib, courier-imap설치

  9. No Image 04Jun
    by ADMINPLAY
    2009/06/04 by ADMINPLAY
    Views 8980 

    courier-imap 설치(imap, pop3)

  10. No Image 22May
    by ADMINPLAY
    2009/05/22 by ADMINPLAY
    Views 11075 

    dns서버가 없는경우 sendmail의 주의점

  11. No Image 04Jun
    by ADMINPLAY
    2009/06/04 by ADMINPLAY
    Views 9601 

    dovecot 메일 받을때 chdir 에러 발생시 해결 방안

  12. No Image 20Aug
    by ADMINPLAY
    2010/08/20 by ADMINPLAY
    Views 19855 

    Fedora Core에 dovecot 환경파일 상세설정

  13. No Image 20Sep
    by ADMINPLAY
    2009/09/20 by ADMINPLAY
    Views 9063 

    g5M1EkS08293: timeout waiting for input from mx4.hanmail.net. during client

  14. No Image 12Jun
    by ADMINPLAY
    2009/06/12 by ADMINPLAY
    Views 8745 

    imap, ipop3 on xinetd

  15. No Image 20Sep
    by ADMINPLAY
    2009/09/20 by ADMINPLAY
    Views 10871 

    Jul 5 15:53:46 www sendmail[25566]: NOQUEUE: [211.192.74.202] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

  16. No Image 20Sep
    by ADMINPLAY
    2009/09/20 by ADMINPLAY
    Views 8991 

    Jun 26 11:04:12 www sendmail[26626]: g5Q246I26624: g5Q24CH26626: DSN: Service unavailable

  17. No Image 20Sep
    by ADMINPLAY
    2009/09/20 by ADMINPLAY
    Views 8679 

    Jun 26 11:15:15 www sendmail[27135]: g5Q2FES27135: collect: premature EOM: Error 0

  18. No Image 04Jun
    by ADMINPLAY
    2009/06/04 by ADMINPLAY
    Views 8484 

    kisa rbl 설정

  19. No Image 04Jun
    by ADMINPLAY
    2009/06/04 by ADMINPLAY
    Views 13367 

    mail 명령어 사용법

  20. No Image 10Sep
    by ADMINPLAY
    2012/09/10 by ADMINPLAY
    Views 14081 

    nslookup 으로 도메인에 대한 MX 값 알아보기

Board Pagination Prev 1 2 3 4 5 6 Next
/ 6

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234