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. SPF 레코드등록.. 이틀간의 삽질의 결과물..(hotmail)

    Date2010.06.04 ByADMINPLAY Views19013
    Read More
  2. 네임서버에 SPF 적용하기(bind)

    Date2010.05.29 Byl2zeo Views15278
    Read More
  3. qmail relay, 암호 인증, STARTTLS

    Date2010.05.12 ByADMINPLAY Views13820
    Read More
  4. 해외(Hotmail 등)로 안정적인 메일발송방법 - Reverse DNS...

    Date2010.03.10 ByADMINPLAY Views13977
    Read More
  5. RBL 참조사이트 이용 및 스팸차단 설정

    Date2010.01.22 ByADMINPLAY Views12188
    Read More
  6. qmail queue 서브디렉토리 복구

    Date2009.12.25 ByADMINPLAY Views10255
    Read More
  7. Q메일서버 관리

    Date2009.12.25 ByADMINPLAY Views11038
    Read More
  8. qmail 큐삭제

    Date2009.12.25 ByADMINPLAY Views14316
    Read More
  9. 리눅스 메일로그 분석 및 확인

    Date2009.12.23 ByADMINPLAY Views13637
    Read More
  10. sendmail mqueue 에 쌓인 메일삭제 주기수정

    Date2009.12.14 ByADMINPLAY Views15111
    Read More
  11. telnet을 이용한 SMTP 테스트

    Date2009.11.26 ByADMINPLAY Views11924
    Read More
  12. qmail error (unable to lock directory /var/log/qmail/s...

    Date2009.11.26 ByADMINPLAY Views11211
    Read More
  13. 폼메일 테스트 방법

    Date2009.11.26 ByADMINPLAY Views11238
    Read More
  14. spamassassin 필터 설치하기

    Date2009.11.24 ByADMINPLAY Views9223
    Read More
  15. Sendmail 계정 및 도메인생성

    Date2009.11.24 ByADMINPLAY Views13284
    Read More
  16. squirrelmail (다람쥐메일) 설치하기관리자

    Date2009.11.24 ByADMINPLAY Views11045
    Read More
  17. roundcube첨부파일 한글일때 깨지는 문제해결

    Date2009.11.01 ByADMINPLAY Views12374
    Read More
  18. /var/spool/mail/에 저장된 메일 다른 메일로 보내기

    Date2009.11.01 ByADMINPLAY Views9416
    Read More
  19. 주요포탈업체 IP차단해제하기

    Date2009.11.01 ByADMINPLAY Views10984
    Read More
  20. Sendmail 세부설정

    Date2009.10.20 ByADMINPLAY Views9914
    Read More
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234