메뉴 건너뛰기

리눅스 관련 모음

본문시작

?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

국산 통나무 수공예 남원제기, 남원목기

자료가 도움이 되셨다면
혼수용품제수용품 필요시
남원제기 공식 홈페이지 http://남원제기.kr
남원목기 공식 홈페이지 http://otchil.kr
에서 구매 해 주세요
정성껏 모시겠습니다.
 

1편에 이어 2편 이어집니다.

 

이제 DCC디렉토리 및 하부 디렉토리 및 파일까지 SELinux 문맥정책도 변경 하였으므로 실행 스크립트를 만든다.

sunshine># ln -s /usr/local/share/dcc/libexec/rcDCC /etc/init.d/dcc

sunshine># ll /etc/init.d/dcc         <---- dcc파일이 링크 되었는지 확인한다. @dcc 이런식으로 있으면 정상.

 

그리고,

   dccproc

   cdcc

   dccif_test 

이 세가지 파일은 DCC 설치하면 /usr/local/bin 에 자동으로 설치가 된다.

 

◆■◆ 다음으로 spamassassin 설정파일을 수정 입력한다.

 

sunshine># vi /etc/mail/spamassassin/local.cf

use_dcc           1
dcc_timeout     10
dcc_home         /usr/local/share/dcc
dcc_path           /usr/local/bin/dccproc
dcc_dccifd_path /usr/local/dcc/share/dccifd
add_header      all DCC _DCCB_: _DCCR_

 

:wq

저장하고 빠져 나온다.

 

◆■◆ 마지막으로  dcc_conf 파일을 수정한다.

 

sunshine># vi /usr/local/dcc/dcc_conf

DCCIFD_ENABLE=off   <--- 이 라인을 찾아

DCCIFD_ENABLE=on   <--- 이렇게 수정한 후 저장하고 나온다.

 

◆■◆ 이제 DCC 를 실행시켜 보자

sunshine># service dcc start

sunshine>#  ps -ef | grep dcc

dcc      31229     1  0 09:01 ?        00:00:00 /usr/local/share/dcc/libexec/dccifd -Idcc -tREP,20 -tCMN,5, -llog -wwhiteclnt -Uuserdirs -SHELO -Smail_host -SSender -SList-ID
dcc      31230 31229  0 09:01 ?    00:00:00 /usr/local/share/dcc/libexec/dccifd -Idcc -tREP,20 -tCMN,5, -llog -wwhiteclnt -Uuserdirs -SHELO -Smail_host -SSender -SList-ID

위와 같이 뜨면 데몬이 제대로 실행이 된 것이다.

 

◆■◆    이제 local 에서 본인 계정으로 메일을 발송 해 보자

sunshine>#  mail sunshin@abc.com

subject 아름다운 나라.

금강산 일만 이천봉 볼 수록 아름답고 신기하구나.

.

CC:

메일 로그를 확인 해 보자.

 

sunshine>#  tail -f /var/log/maillog

open(/var/dcc/map): Permission denied   <--- 1편에서와 같이 이런 메세지가 보일 것이다.

dccproc[6885]: open(/usr/local/share/dcc/map): Permission denied
dccproc[6885]: lock_open(/usr/local/share/dcc/whiteclnt.dccx): Permission denied; file not writeable for locking
ns dccproc[6885]: whiteclnt still broken
dccproc[6887]: open(/usr/local/share/dcc/map): Permission denied
dccproc[6887]: lock_open(/usr/local/share/dcc/whiteclnt.dccx): Permission denied; file not writeable for locking
dccproc[6887]: whiteclnt still broken

 

◆■◆   그 다음     

 

   

  1. 스팸어쎄신(spamassassin)은 설치 후 service등록과 업데이트를 한번 더 해 줘야 한다.

    Date2012.05.10 Category설치관련 By햇빛소년 Views29484
    Read More
  2. iptables 삭제명령

    Date2012.05.15 By햇빛소년 Views71453
    Read More
  3. chmod 파일 퍼미션의 다양한 조건들....

    Date2012.05.16 By햇빛소년 Views28507
    Read More
  4. cdcc 문서

    Date2012.05.30 By햇빛소년 Views32758
    Read More
  5. Red Hat / CentOS IPv6 Network Configuration

    Date2012.05.30 By햇빛소년 Views28092
    Read More
  6. DCC+razor2+pyzor how to ---[ spamassassin -D <test 2>debug ]

    Date2012.05.31 Category설치관련 By햇빛소년 Views31628
    Read More
  7. - FQDN - 올바른 Hostname 설정하기.

    Date2012.06.02 By햇빛소년 Views32835
    Read More
  8. DCC관련 명령어 모음

    Date2012.06.02 By햇빛소년 Views43924
    Read More
  9. selinux 관련 명령모음.

    Date2012.06.07 By햇빛소년 Views36271
    Read More
  10. SELinux Lockdown Part One: SELinux Users

    Date2012.06.07 By햇빛소년 Views35101
    Read More
  11. audit2allow라는 프로그램

    Date2012.06.08 By햇빛소년 Views30190
    Read More
  12. open(/var/dcc/map): Permission denied --- maillog에러 메세지 드디어 해결!!

    Date2012.06.09 By햇빛소년 Views31887
    Read More
  13. open(/var/dcc/map): Permission denied --- maillog에러 메세지 드디어 해결!! --제2편

    Date2012.06.09 By햇빛소년 Views31089
    Read More
  14. SELinux/audit2allow

    Date2012.06.11 By햇빛소년 Views33239
    Read More
  15. audit.log 관련...

    Date2012.06.15 By햇빛소년 Views28906
    Read More
  16. 리눅스의 데몬 설명

    Date2012.06.15 By햇빛소년 Views38043
    Read More
  17. procmail: Lock failure on "spamassassin.lock"

    Date2012.06.16 By햇빛소년 Views27019
    Read More
  18. /etc/security/pam_env.conf: No such file or directory

    Date2012.06.18 By햇빛소년 Views30138
    Read More
  19. procmail: Couldn't create or rename temp file "/var/spool/mail/spam/"

    Date2012.06.18 By햇빛소년 Views31403
    Read More
  20. passwd, groups, gpasswd 알아두면 좋을듯한 생소한 명령사용법.

    Date2012.06.19 By햇빛소년 Views27485
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10