메뉴 건너뛰기

리눅스 관련 모음

본문시작

?

단축키

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. pcre최신버전 소스설치 후 modsecurity-apache 컴파일시 에러

    Date2013.01.19 Category에러해결 By햇빛소년 Views76631
    Read More
  2. passwd, groups, gpasswd 알아두면 좋을듯한 생소한 명령사용법.

    Date2012.06.19 By햇빛소년 Views27485
    Read More
  3. openssl 소스설치

    Date2014.03.16 Category설치관련 By햇빛소년 Views4887
    Read More
  4. open(/var/dcc/map): Permission denied --- maillog에러 메세지 드디어 해결!! --제2편

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

    Date2012.06.09 By햇빛소년 Views31887
    Read More
  6. named 에러 (/var/log/massages) 가 있을 때 해결 방법

    Date2013.06.12 Category에러해결 By햇빛소년 Views33936
    Read More
  7. named error -> dumping master file: tmp-6bFrQDtE5l: open: permission denied

    Date2015.05.06 Category에러해결 By햇빛소년 Views1059
    Read More
  8. MySQL에러[Warning] IP address '211.154.154.171' could not be resolved: no reverse address mapping.

    Date2011.05.09 By햇빛소년 Views51323
    Read More
  9. mysql 컴파일 설치 후 해야 할 일...

    Date2014.02.23 Category설치관련 By햇빛소년 Views4
    Read More
  10. mysql 문자열치환

    Date2012.10.11 By햇빛소년 Views23347
    Read More
  11. MySQL 데이타베이스 (DB) euckr => utf8 로 변환하여 이전 작업 하기

    Date2014.03.10 Category설치관련 By햇빛소년 Views3845
    Read More
  12. mysql 계정사용자 추가하기.

    Date2015.01.11 Category설치관련 By햇빛소년 Views1216
    Read More
  13. mysql root 및 사용자 계정 password(비밀번호) 변경 및 에러 대처.

    Date2015.08.11 Category에러해결 By햇빛소년 Views3235
    Read More
  14. MYSQL / 필드내 특정 문자열 치환하는 mysql 명령문

    Date2011.03.26 By햇빛소년 Views50687
    Read More
  15. mqueue 설정 및 사용법

    Date2016.05.26 Category설정 및 사용법 By햇빛소년 Views1793
    Read More
  16. ModSecurity-Apache 설치, Lua, readline

    Date2013.01.07 By햇빛소년 Views51532
    Read More
  17. modcurity 에러메세지

    Date2013.01.17 Category에러해결 By햇빛소년 Views0
    Read More
  18. mc(미드나잇 커맨드) 종료시 처음 PWD로 바뀌는 문제 해결

    Date2013.06.09 Category에러해결 By햇빛소년 Views17544
    Read More
  19. mariadb 소스설치시 Curses library not found. Please install appropriate package,

    Date2016.02.16 CategoryCentOS 7 By햇빛소년 Views2199
    Read More
  20. Mail Server 구축(postfix, dovecot, amavisd-new, spamassassin, clamav)

    Date2011.05.02 By햇빛소년 Views96540
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10