메뉴 건너뛰기

리눅스 관련 모음

본문시작

?

단축키

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. 윈도우에서 내 컴퓨터 ip주소 확인하기

    Date2011.06.20 By햇빛소년 Views38099
    Read More
  2. 리눅스의 데몬 설명

    Date2012.06.15 By햇빛소년 Views38043
    Read More
  3. 공기정화 식물을 키워라!

    Date2011.05.19 By햇빛소년 Views36768
    Read More
  4. selinux 관련 명령모음.

    Date2012.06.07 By햇빛소년 Views36271
    Read More
  5. 보안 관련하여 한번쯤 읽어 볼 거리....

    Date2012.07.12 By햇빛소년 Views35166
    Read More
  6. SELinux Lockdown Part One: SELinux Users

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

    Date2013.06.12 Category에러해결 By햇빛소년 Views33937
    Read More
  8. SELinux/audit2allow

    Date2012.06.11 By햇빛소년 Views33239
    Read More
  9. - FQDN - 올바른 Hostname 설정하기.

    Date2012.06.02 By햇빛소년 Views32838
    Read More
  10. cdcc 문서

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

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

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

    Date2012.05.31 Category설치관련 By햇빛소년 Views31628
    Read More
  14. procmail: Couldn't create or rename temp file "/var/spool/mail/spam/"

    Date2012.06.18 By햇빛소년 Views31403
    Read More
  15. /etc/mail/access 사용법

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

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

    Date2013.01.11 Category에러해결 By햇빛소년 Views30286
    Read More
  18. audit2allow라는 프로그램

    Date2012.06.08 By햇빛소년 Views30191
    Read More
  19. /etc/security/pam_env.conf: No such file or directory

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

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