Skip to content

조회 수 9223 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
spamassassin 필터 설치하기

    spamassassin 은 open-source spam filter 로서 간단히 적용이 가능하다.
    만약 Redhat Linux 9 이하등의 하위 버전을 이용중이라면 spamassassin 이 제공하는 Full Feather 를 사용할 수 없다.

1. spamassassin 설치
    CentOS 나 Fedora 등이 설치된 서버라면 간단히 yum -y install spamassassin 과 같이 설치가 종료되나,
    여기서는 배포사이트인 http://spamassassin.apache.org 에서 제공되는 tar.bz2 를 이용하여 설치한다.
    적당한 경로에 해당 패키지를 다운로드를 한다.
    [root@localhost root]# rpmbuild -tb 다운로드받은Mail-SpamAssassin.tar.gz
   
    rebuild 된 rpm 패키지를 설치한다.
    [root@localhost root]# rpm -Uhv /usr/src/redhat/i386/Mail-Spam*

    spamassassain 패키지가 요구하는 Perl module 을 아래와 같이 추가한다.
    예) Net::DNS

    [root@localhost root]# perl -MCPAN -e shell
                  > install Net::DNS
    와 같이 요구되는 모든 Perl module 을 설치 후 다시 아래와 같이 패키지를 설치한다.
    [root@localhost root]# rpm -Uhv /usr/src/redhat/i386/Mail-Spam*

2. mailbox 로 전송되기 전에 spamassassin 이 처리하도록 설정.
    [root@localhost root]# vi /etc/procmailrc
    최상단에 아래와 같이 추가
    INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc

3. spamassassin 구동
    [root@localhost root]# /etc/init.d/spamassassin start

4. spamassassin 설정 파일들은 /etc/mail/spamassassin 에 위치하고 있으며, SpamAssassin Configuration Generator 를 이용한다.
    http://www.yrex.com/spam/spamconfig.php 을 참고해서 적절히 활성화 시킨 후에 Genetate the Configuration File 을 수행하여 생성된 Configuration 을 /etc/mail/spamassassin/local.cf 파일로 대체시킨다.

5. spamassassin 을 재구동하면 모든 구성이 완료된다.
    [root@localhost root]# /etc/init.d/spamassassin restart

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

    Date2009.06.04 ByADMINPLAY Views9034
    Read More
  2. /var/spool/clientmqueue 에 파일 적재될 때

    Date2010.06.04 ByADMINPLAY Views19739
    Read More
  3. /var/spool/mail root계정 및 일반계정 용량삭제

    Date2009.08.23 ByADMINPLAY Views12555
    Read More
  4. /var/spool/mail/에 저장된 메일 다른 메일로 보내기

    Date2009.06.04 ByADMINPLAY Views8737
    Read More
  5. /var/spool/mail/에 저장된 메일 다른 메일로 보내기

    Date2009.11.01 ByADMINPLAY Views9416
    Read More
  6. CNAME lookup failed temporarily. (#4.4.3)

    Date2009.06.04 ByADMINPLAY Views12425
    Read More
  7. courier-authlib 와 courier-imap 의 설치

    Date2010.06.21 ByADMINPLAY Views18267
    Read More
  8. courier-authlib, courier-imap설치

    Date2009.06.04 ByADMINPLAY Views9326
    Read More
  9. courier-imap 설치(imap, pop3)

    Date2009.06.04 ByADMINPLAY Views8982
    Read More
  10. dns서버가 없는경우 sendmail의 주의점

    Date2009.05.22 ByADMINPLAY Views11077
    Read More
  11. dovecot 메일 받을때 chdir 에러 발생시 해결 방안

    Date2009.06.04 ByADMINPLAY Views9605
    Read More
  12. Fedora Core에 dovecot 환경파일 상세설정

    Date2010.08.20 ByADMINPLAY Views19859
    Read More
  13. g5M1EkS08293: timeout waiting for input from mx4.hanma...

    Date2009.09.20 ByADMINPLAY Views9063
    Read More
  14. imap, ipop3 on xinetd

    Date2009.06.12 ByADMINPLAY Views8745
    Read More
  15. Jul 5 15:53:46 www sendmail[25566]: NOQUEUE: [211.192....

    Date2009.09.20 ByADMINPLAY Views10871
    Read More
  16. Jun 26 11:04:12 www sendmail[26626]: g5Q246I26624: g5Q...

    Date2009.09.20 ByADMINPLAY Views8991
    Read More
  17. Jun 26 11:15:15 www sendmail[27135]: g5Q2FES27135: col...

    Date2009.09.20 ByADMINPLAY Views8680
    Read More
  18. kisa rbl 설정

    Date2009.06.04 ByADMINPLAY Views8485
    Read More
  19. mail 명령어 사용법

    Date2009.06.04 ByADMINPLAY Views13367
    Read More
  20. nslookup 으로 도메인에 대한 MX 값 알아보기

    Date2012.09.10 ByADMINPLAY Views14081
    Read More
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234