>> Edit article
이름
제목
패스워드
: 안녕하세요.. : 질문이 있는데요... 헉~~~~~~ : : 리눅스 서버에서 sendmail 을 구축하려고 하는데요.. : sendmail 을 하는 방법 알려주시면 안될까요?? : : 문서들을 보아도 너무 어려워서, 너무 막히고.. : 어제 하루종일 씨름을 해도 못하고.. : 지금도 계속 하고 있어요... : 제대로 한것 같은데.. 잘 안되는데요.. : 저에게 희망의 답변 주시면.. 너무 좋겠습니다.. : 도와 주세요... : : -- : 정말 도와주세요......... rmp으로 까는법을 가르쳐드릴께요.. 우선 rpm 화일을 받으시고요. rpm을 푸세요~. $ rpm -ivh sendmail* $ /etc/rc.d/init.d/sendmail start 다음엔 qpopper를 설치하세요. qpopper는 소스로 할꺼예염.. 우선은 설치되어있는지 확인. rpm -qi imap 설치되어있음 필요없구요..없음 qpopper소스를 다운받으시고... /usr/local/src에 옮기셔서 압축을 푸세요. $ tar xvzf qpopper* 담에 qpopper디렉토리안에 들어가셔서... $ ./configure --enable-specialauth --enable-bulletins=/var/spool/bulls --enable-servermode 컴파일하시구... $ make popper파일을 카피하세요.. $cp popper/popper /usr/local/lib/ 그리고 /etc/services파일을 vi로 편집.. #pop-2 109/tcp postoffice # POP version 2 #pop-2 109/udp #pop-3 110/tcp # POP version3 #pop-3 110/udp pop3 110/tcp # popper 글구 한번 접속해보세요.. $ telnet localhost 110 $ telnet localhost pop3 $ telnet localhost pop-3 이제는 xinetd.conf를 편집하세요.. $ vi /etc/xinetd.d service pop-3 { disable = no port = 110 flags = REUSE NAMEINARGS socket_type = stream wait = nowait user = root server = /usr/sbin/tcpd server_args = /usr/sbin/ipop3d } 이젠 데몬을 재실행하세요~ # /etc/rc.d/init.d/inet restart 이제 다시 테스트 # telnet localhost pop3 구러면... Trying xxx.xxx....... Connected to localhost. Escape character is '^]'. +OK QPOP (version x.xxx) at www.xxx.xx.xx starting. user xxx --xxx는 님 아이디를 치세요. +OK Password required for xxx. pass xxxxx --xxxxx는 님 패스워드.. +OK xxx has 숫자 messages (숫자 octets). quit --쓰세요.. +OK Pop server at www.xxx.xx.xx signing off. Connection closed by foreign host. 이렇게 되면 성공이예요~~^^ 이젠 sendmail 설정파일을 할꺼예염... /etc/sendmail.cf를 편집 # anything else is bogus R$+ $#error $@ 5.7.1 $: "550 Relaying denied" # --여기부분의 주석을 없애세요.. #중략 Cw localhost # file containing names of hosts for which we receive email Fw/etc/sendmail.cw --여기두 주석 없앰.. /etc/sendmail.cw 편집 #sendmail.cw - include all aliases for your machine here. xxx.xx.xx xxx.xx.xx 위의 xxx부분에 네임서버에 등록된 모든 도메인을 적어주세요.. /etc/mail/access localhost.localdomail RELAY localhost RELAY xxx.xx.xx OK xxx.xx.xx OK zzz.zzz RELAY 위의 주소와 RELAY,OK사이에는 Tab키를 써서 띄워주세요. 그리고 xxx는 도메인을...그리고 zzz은 님 IP주소 앞자리두개. /etc/mail/virtusertable 편집 ccc@xxx.xx.xx ID ccc@xxx.xx.xx는 님 메일주소 쓰시구요..ID는 님 아이디.. 이제 끝났으면 다음의 명령을 실행해주세요.. $makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable 이러면 가상메일서버 설정이 끝난거예염... blue...........
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved