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년 전 | 1776 | ||
| 1029 | 18년 전 | 2211 | ||
| 1028 | 18년 전 | 2624 | ||
| 1027 | 18년 전 | 1785 | ||
| 1026 | 18년 전 | 1515 | ||
| 1025 | 18년 전 | 1531 | ||
| 1024 | 18년 전 | 1458 | ||
| 1023 | 18년 전 | 3219 | ||
| 1022 | 18년 전 | 2909 | ||
| 1021 | 18년 전 | 1666 | ||
| 1020 | 18년 전 | 3406 | ||
| 1019 | 18년 전 | 1834 | ||
| 1018 | 18년 전 | 1483 | ||
| 1017 | 18년 전 | 1946 | ||
| 1016 | 18년 전 | 2091 | ||
| 1015 | 18년 전 | 1626 | ||
| 1014 | 18년 전 | 2338 | ||
| 1013 | 18년 전 | 1995 | ||
| 1012 | 18년 전 | 1604 | ||
| 1011 | 18년 전 | 1780 | ||
| 1010 | 18년 전 | 2035 | ||
| 1009 | 18년 전 | 1792 | ||
| 1008 | 18년 전 | 1593 | ||
| 1007 | 18년 전 | 1652 | ||
| 1006 | 18년 전 | 3123 | ||
| 1005 | 18년 전 | 1989 | ||
| 1004 | 18년 전 | 1860 | ||
| 1003 | 18년 전 | 4364 | ||
| 1002 | 18년 전 | 4991 | ||
| 1001 | 18년 전 | 3155 | ||
| 1000 | 18년 전 | 2901 | ||
| 999 | 18년 전 | 3494 | ||
| 998 | 18년 전 | 2036 | ||
| 997 | 18년 전 | 2384 | ||
| 996 | 18년 전 | 2685 | ||
| 995 | 18년 전 | 2750 | ||
| 994 | 18년 전 | 2346 | ||
| 993 | 18년 전 | 1608 | ||
| 992 | 18년 전 | 3374 | ||
| 991 | 18년 전 | 1973 | ||
| 990 | 18년 전 | 2378 | ||
| 989 | 18년 전 | 2449 | ||
| 988 | 18년 전 | 2875 | ||
| 987 | 18년 전 | 5209 | ||
| 986 |
|
18년 전 | 2485 | |
| 985 |
|
18년 전 | 3335 | |
| 984 | 18년 전 | 4273 | ||
| 983 |
느낌좋은날
|
18년 전 | 2494 | |
| 982 | 18년 전 | 2458 | ||
| 981 | 18년 전 | 4033 | ||
| 980 | 18년 전 | 2746 | ||
| 979 |
Sinpre
|
19년 전 | 2984 | |
| 978 | 19년 전 | 2199 | ||
| 977 | 19년 전 | 2215 | ||
| 976 | 19년 전 | 1990 | ||
| 975 | 19년 전 | 3271 | ||
| 974 | 19년 전 | 2103 | ||
| 973 |
|
19년 전 | 2778 | |
| 972 |
|
19년 전 | 1737 | |
| 971 | 19년 전 | 5308 | ||
| 970 | 19년 전 | 3562 | ||
| 969 | 19년 전 | 4314 | ||
| 968 | 19년 전 | 3057 | ||
| 967 | 19년 전 | 2521 | ||
| 966 | 19년 전 | 3916 | ||
| 965 | 19년 전 | 2641 | ||
| 964 | 19년 전 | 2986 | ||
| 963 | 19년 전 | 2955 | ||
| 962 | 19년 전 | 4172 | ||
| 961 | 19년 전 | 3122 | ||
| 960 | 19년 전 | 3017 | ||
| 959 | 19년 전 | 3666 | ||
| 958 | 19년 전 | 2969 | ||
| 957 | 19년 전 | 2190 | ||
| 956 | 19년 전 | 2219 | ||
| 955 | 19년 전 | 2162 | ||
| 954 | 19년 전 | 2764 | ||
| 953 | 19년 전 | 2472 | ||
| 952 | 19년 전 | 3338 | ||
| 951 | 19년 전 | 3191 | ||
| 950 | 19년 전 | 1821 | ||
| 949 | 19년 전 | 2738 | ||
| 948 | 19년 전 | 7823 | ||
| 947 |
|
19년 전 | 2494 | |
| 946 |
DeepnBlue
|
19년 전 | 3097 | |
| 945 |
pearly
|
19년 전 | 2852 | |
| 944 | 19년 전 | 3014 | ||
| 943 |
|
19년 전 | 2212 | |
| 942 | 19년 전 | 2447 | ||
| 941 |
|
19년 전 | 4068 | |
| 940 | 19년 전 | 2227 | ||
| 939 |
|
19년 전 | 4216 | |
| 938 |
|
19년 전 | 2377 | |
| 937 | 19년 전 | 2071 | ||
| 936 |
|
19년 전 | 2320 | |
| 935 | 19년 전 | 1864 | ||
| 934 |
|
19년 전 | 2397 | |
| 933 | 19년 전 | 2189 | ||
| 932 |
|
19년 전 | 3061 | |
| 931 | 19년 전 | 1849 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기