18. imap server - pop3/imap 지원
http://www.nlc.net.au/pub/unix/mail/?D=D
tar xzvf imap-2004.RC6.tar.Z &&
cd imap-2004.RC6/src/osdep/unix &&
mkdir -p /etc/mail/certs &&
vi Makefile
** vi Makefile 에서 편집할 부분, ssl 지원을 위해서
SSLDIR=/usr/local/ssl
SSLCERTS=/etc/mail/certs
SSLKEYS=$(SSLCERTS)
SSLINCLUDE=$(SSLDIR)/include
SSLLIB=$(SSLDIR)/lib
** make lrh 는 레드헷 리눅스 7.3 이상 버젼에서 실행하고,
이하 버전이나 다른 리눅스 호환버전은 make slx 를 실행한다.
cd ../../../ &&
make lrh &&
cd ../ &&
cp -r imap-2004.RC6 /usr/local/imap &&
cd /usr/local/imap &&
cp imapd/imapd /usr/sbin/in.imapd &&
cp ipopd/ipop3d /usr/sbin/in.ipop3d &&
ln -sf /usr/local/imap/c-client/c-client.a /usr/lib/c-client.a &&
ln -sf /usr/local/imap/c-client/mail.h /usr/include/mail.h &&
ln -sf /usr/local/imap/c-client/rfc822.h /usr/include/rfc822.h &&
ln -sf /usr/local/imap/c-client/linkage.h /usr/include/linkage.h
** 아래 부분을 모두 화면 자체에서 실행한다.
cat > /etc/xinetd.d/imap << "EOF"
service imap
{
disable = no
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.imapd
log_on_failure += USERID
}
EOF
cat > /etc/xinetd.d/imaps << "EOF"
service imaps
{
disable = no
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.imapd
log_on_failure += USERID
}
EOF
cat > /etc/xinetd.d/ipop3 << "EOF"
service pop3
{
disable = no
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.ipop3d
log_on_failure += USERID
}
EOF
cat > /etc/xinetd.d/ipop3s << "EOF"
service ipop3s
{
disable = no
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.ipop3d
log_on_failure += USERID
}
EOF
** cat 완료 후 아래를 실행한다.
ls /etc/xinetd.d/
** cat 에서 작성한데로 문자열이 적용되었는지 아래처럼 확인한다.
cat /etc/xinetd.d/imap
** 확인작업 후 정렬이 되어 있지않으면 아래 경로로 이동한다.
cd /etc/xinetd.d
** 적용할 문서를 찾기위해 ls 명령을 친 후 아래처럼 작업한다.
각 문서들이 함수 적용 부분이 정렬이 되어 있지 않으므로,
아래처럼 vi 편집기를 이용하여 접속 후 탭키를 이용하여 cat 적용처럼 문자열을 정렬시킨다.
vi imap
vi imaps
vi ipop3
vi ipop3s
** xinetd 의 새로운 적용을 위해 리스타트한다.
/etc/rc.d/init.d/xinetd restart<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
http://www.nlc.net.au/pub/unix/mail/?D=D
tar xzvf imap-2004.RC6.tar.Z &&
cd imap-2004.RC6/src/osdep/unix &&
mkdir -p /etc/mail/certs &&
vi Makefile
** vi Makefile 에서 편집할 부분, ssl 지원을 위해서
SSLDIR=/usr/local/ssl
SSLCERTS=/etc/mail/certs
SSLKEYS=$(SSLCERTS)
SSLINCLUDE=$(SSLDIR)/include
SSLLIB=$(SSLDIR)/lib
** make lrh 는 레드헷 리눅스 7.3 이상 버젼에서 실행하고,
이하 버전이나 다른 리눅스 호환버전은 make slx 를 실행한다.
cd ../../../ &&
make lrh &&
cd ../ &&
cp -r imap-2004.RC6 /usr/local/imap &&
cd /usr/local/imap &&
cp imapd/imapd /usr/sbin/in.imapd &&
cp ipopd/ipop3d /usr/sbin/in.ipop3d &&
ln -sf /usr/local/imap/c-client/c-client.a /usr/lib/c-client.a &&
ln -sf /usr/local/imap/c-client/mail.h /usr/include/mail.h &&
ln -sf /usr/local/imap/c-client/rfc822.h /usr/include/rfc822.h &&
ln -sf /usr/local/imap/c-client/linkage.h /usr/include/linkage.h
** 아래 부분을 모두 화면 자체에서 실행한다.
cat > /etc/xinetd.d/imap << "EOF"
service imap
{
disable = no
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.imapd
log_on_failure += USERID
}
EOF
cat > /etc/xinetd.d/imaps << "EOF"
service imaps
{
disable = no
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.imapd
log_on_failure += USERID
}
EOF
cat > /etc/xinetd.d/ipop3 << "EOF"
service pop3
{
disable = no
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.ipop3d
log_on_failure += USERID
}
EOF
cat > /etc/xinetd.d/ipop3s << "EOF"
service ipop3s
{
disable = no
flags = REUSE
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.ipop3d
log_on_failure += USERID
}
EOF
** cat 완료 후 아래를 실행한다.
ls /etc/xinetd.d/
** cat 에서 작성한데로 문자열이 적용되었는지 아래처럼 확인한다.
cat /etc/xinetd.d/imap
** 확인작업 후 정렬이 되어 있지않으면 아래 경로로 이동한다.
cd /etc/xinetd.d
** 적용할 문서를 찾기위해 ls 명령을 친 후 아래처럼 작업한다.
각 문서들이 함수 적용 부분이 정렬이 되어 있지 않으므로,
아래처럼 vi 편집기를 이용하여 접속 후 탭키를 이용하여 cat 적용처럼 문자열을 정렬시킨다.
vi imap
vi imaps
vi ipop3
vi ipop3s
** xinetd 의 새로운 적용을 위해 리스타트한다.
/etc/rc.d/init.d/xinetd restart<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1030 | 18년 전 | 1786 | ||
| 1029 | 18년 전 | 2217 | ||
| 1028 | 18년 전 | 2630 | ||
| 1027 | 18년 전 | 1791 | ||
| 1026 | 18년 전 | 1522 | ||
| 1025 | 18년 전 | 1539 | ||
| 1024 | 18년 전 | 1463 | ||
| 1023 | 18년 전 | 3224 | ||
| 1022 | 18년 전 | 2911 | ||
| 1021 | 18년 전 | 1675 | ||
| 1020 | 18년 전 | 3409 | ||
| 1019 | 18년 전 | 1835 | ||
| 1018 | 18년 전 | 1488 | ||
| 1017 | 18년 전 | 1953 | ||
| 1016 | 18년 전 | 2096 | ||
| 1015 | 18년 전 | 1631 | ||
| 1014 | 18년 전 | 2343 | ||
| 1013 | 18년 전 | 1997 | ||
| 1012 | 18년 전 | 1620 | ||
| 1011 | 18년 전 | 1782 | ||
| 1010 | 18년 전 | 2037 | ||
| 1009 | 18년 전 | 1799 | ||
| 1008 | 18년 전 | 1605 | ||
| 1007 | 18년 전 | 1660 | ||
| 1006 | 18년 전 | 3131 | ||
| 1005 | 18년 전 | 1991 | ||
| 1004 | 18년 전 | 1866 | ||
| 1003 | 18년 전 | 4366 | ||
| 1002 | 18년 전 | 4993 | ||
| 1001 | 18년 전 | 3158 | ||
| 1000 | 18년 전 | 2907 | ||
| 999 | 18년 전 | 3497 | ||
| 998 | 18년 전 | 2043 | ||
| 997 | 18년 전 | 2398 | ||
| 996 | 18년 전 | 2695 | ||
| 995 | 18년 전 | 2751 | ||
| 994 | 18년 전 | 2346 | ||
| 993 | 18년 전 | 1612 | ||
| 992 | 18년 전 | 3376 | ||
| 991 | 18년 전 | 1983 | ||
| 990 | 18년 전 | 2379 | ||
| 989 | 18년 전 | 2453 | ||
| 988 | 18년 전 | 2881 | ||
| 987 | 18년 전 | 5212 | ||
| 986 |
|
18년 전 | 2489 | |
| 985 |
|
18년 전 | 3340 | |
| 984 | 18년 전 | 4275 | ||
| 983 |
느낌좋은날
|
18년 전 | 2500 | |
| 982 | 19년 전 | 2464 | ||
| 981 | 19년 전 | 4037 | ||
| 980 | 19년 전 | 2747 | ||
| 979 |
Sinpre
|
19년 전 | 2989 | |
| 978 | 19년 전 | 2206 | ||
| 977 | 19년 전 | 2217 | ||
| 976 | 19년 전 | 1990 | ||
| 975 | 19년 전 | 3273 | ||
| 974 | 19년 전 | 2105 | ||
| 973 |
|
19년 전 | 2782 | |
| 972 |
|
19년 전 | 1742 | |
| 971 | 19년 전 | 5314 | ||
| 970 | 19년 전 | 3568 | ||
| 969 | 19년 전 | 4320 | ||
| 968 | 19년 전 | 3065 | ||
| 967 | 19년 전 | 2523 | ||
| 966 | 19년 전 | 3919 | ||
| 965 | 19년 전 | 2647 | ||
| 964 | 19년 전 | 2991 | ||
| 963 | 19년 전 | 2958 | ||
| 962 | 19년 전 | 4174 | ||
| 961 | 19년 전 | 3126 | ||
| 960 | 19년 전 | 3021 | ||
| 959 | 19년 전 | 3671 | ||
| 958 | 19년 전 | 2974 | ||
| 957 | 19년 전 | 2190 | ||
| 956 | 19년 전 | 2222 | ||
| 955 | 19년 전 | 2174 | ||
| 954 | 19년 전 | 2766 | ||
| 953 | 19년 전 | 2474 | ||
| 952 | 19년 전 | 3344 | ||
| 951 | 19년 전 | 3202 | ||
| 950 | 19년 전 | 1826 | ||
| 949 | 19년 전 | 2740 | ||
| 948 | 19년 전 | 7824 | ||
| 947 |
|
19년 전 | 2501 | |
| 946 |
DeepnBlue
|
19년 전 | 3102 | |
| 945 |
pearly
|
19년 전 | 2867 | |
| 944 | 19년 전 | 3021 | ||
| 943 |
|
19년 전 | 2224 | |
| 942 | 19년 전 | 2452 | ||
| 941 |
|
19년 전 | 4070 | |
| 940 | 19년 전 | 2231 | ||
| 939 |
|
19년 전 | 4219 | |
| 938 |
|
19년 전 | 2382 | |
| 937 | 19년 전 | 2073 | ||
| 936 |
|
19년 전 | 2325 | |
| 935 | 19년 전 | 1872 | ||
| 934 |
|
19년 전 | 2405 | |
| 933 | 19년 전 | 2196 | ||
| 932 |
|
19년 전 | 3065 | |
| 931 | 19년 전 | 1852 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기