메뉴 건너뛰기

리눅스 관련 모음

본문시작

?

단축키

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

 

◆■◆   그 다음     

 

   

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
150 윈도우에서 내 컴퓨터 ip주소 확인하기 햇빛소년 2011.06.20 38099
149 리눅스의 데몬 설명 햇빛소년 2012.06.15 38038
148 공기정화 식물을 키워라! 햇빛소년 2011.05.19 36768
147 selinux 관련 명령모음. 햇빛소년 2012.06.07 36271
146 보안 관련하여 한번쯤 읽어 볼 거리.... 햇빛소년 2012.07.12 35165
145 SELinux Lockdown Part One: SELinux Users 햇빛소년 2012.06.07 35101
144 에러해결 named 에러 (/var/log/massages) 가 있을 때 해결 방법 햇빛소년 2013.06.12 33932
143 SELinux/audit2allow 햇빛소년 2012.06.11 33239
142 - FQDN - 올바른 Hostname 설정하기. 햇빛소년 2012.06.02 32827
141 cdcc 문서 햇빛소년 2012.05.30 32758
140 Starting spamd: Apr 29 16:41:34.934 [14162] warn: server socket setup failed, retry 1: spamd: could not chown 에러해결 햇빛소년 2012.04.29 32110
139 open(/var/dcc/map): Permission denied --- maillog에러 메세지 드디어 해결!! 햇빛소년 2012.06.09 31887
138 설치관련 DCC+razor2+pyzor how to ---[ spamassassin -D <test 2>debug ] file 햇빛소년 2012.05.31 31628
137 procmail: Couldn't create or rename temp file "/var/spool/mail/spam/" 햇빛소년 2012.06.18 31402
136 /etc/mail/access 사용법 햇빛소년 2012.06.22 31293
» open(/var/dcc/map): Permission denied --- maillog에러 메세지 드디어 해결!! --제2편 햇빛소년 2012.06.09 31089
134 에러해결 unable to include potential exec "include/top.html" in parsed file 에러 해결!!! 햇빛소년 2013.01.11 30286
133 audit2allow라는 프로그램 햇빛소년 2012.06.08 30187
132 /etc/security/pam_env.conf: No such file or directory 햇빛소년 2012.06.18 30137
131 cpan 으로 설치힌 perl 모듈의 검색과 삭제... 햇빛소년 2012.05.10 30037
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10