메뉴 건너뛰기

리눅스 관련 모음

본문시작

?

단축키

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. specifies multiple packages 대처법

    Date2012.02.22 By햇빛소년 Views28119
    Read More
  2. Red Hat / CentOS IPv6 Network Configuration

    Date2012.05.30 By햇빛소년 Views28249
    Read More
  3. pyzor: check failed: internal error, python traceback seen in response 드디어 해결

    Date2012.06.20 By햇빛소년 Views28561
    Read More
  4. chmod 파일 퍼미션의 다양한 조건들....

    Date2012.05.16 By햇빛소년 Views28699
    Read More
  5. ClamAV 0.97.4 버전으로 새로 컴파일 하여 업데이트 한후 에러발생 해결...

    Date2012.04.29 By햇빛소년 Views28871
    Read More
  6. audit.log 관련...

    Date2012.06.15 By햇빛소년 Views29034
    Read More
  7. /etc/rc.d/init.d/smb script file

    Date2012.07.02 By햇빛소년 Views29537
    Read More
  8. 스팸어쎄신(spamassassin)은 설치 후 service등록과 업데이트를 한번 더 해 줘야 한다.

    Date2012.05.10 Category설치관련 By햇빛소년 Views29791
    Read More
  9. php: symbol lookup error:/........./imagick.so: undefined symbol: MagickWandGenesis

    Date2012.06.22 By햇빛소년 Views29941
    Read More
  10. convert: error while loading shared libraries: libMagick.so.10: cannot open

    Date2012.02.20 By햇빛소년 Views30055
    Read More
  11. cpan 으로 설치힌 perl 모듈의 검색과 삭제...

    Date2012.05.10 By햇빛소년 Views30218
    Read More
  12. /etc/security/pam_env.conf: No such file or directory

    Date2012.06.18 By햇빛소년 Views30332
    Read More
  13. audit2allow라는 프로그램

    Date2012.06.08 By햇빛소년 Views30362
    Read More
  14. unable to include potential exec "include/top.html" in parsed file 에러 해결!!!

    Date2013.01.11 Category에러해결 By햇빛소년 Views30602
    Read More
  15. open(/var/dcc/map): Permission denied --- maillog에러 메세지 드디어 해결!! --제2편

    Date2012.06.09 By햇빛소년 Views31229
    Read More
  16. /etc/mail/access 사용법

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

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

    Date2012.05.31 Category설치관련 By햇빛소년 Views31889
    Read More
  19. open(/var/dcc/map): Permission denied --- maillog에러 메세지 드디어 해결!!

    Date2012.06.09 By햇빛소년 Views32052
    Read More
  20. Starting spamd: Apr 29 16:41:34.934 [14162] warn: server socket setup failed, retry 1: spamd: could not chown 에러해결

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