메뉴 건너뛰기

리눅스 관련 모음

본문시작

조회 수 31403 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

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

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

procmail: Couldn't create or rename temp file "/var/spool/mail/spam/"

 

위와 같은 에러 메세지를 보려면 /etc/procmailrc 파일에

다음과 같은 옵션을 설정 해 줘야 한다.

본 필자도 기본 파일 설정에다 대충 추가해서 사용 하였는데 요즘 생업을 뒤로 한채 스팸메일 서버 구축에 팔려서

거의 밥만 먹으면 붙들고 살고 있다.  리눅스란게 어느 한곳 무심코 설정 한번 제대로 안해 주면 여기 저기서 충돌(트러블)

이 생기기 마련이니 그만큼 시간 투자해서 까불지 않으면 미련 곰탱이 처럼 낭패보기 십상이다.

 

# Uncomment the following line to troubleshoot problems
# 다음 옵션은 procmail.log 파일 설정관련.
# $HOME 는 각 사용자(USER)계정 디렉토리 밑에 로그파일을 기록한다.
# VERBOSE=YES
DROPPRIVS=YES
LOGFILE=$HOME/procmail.log
#LOGFILE=/var/log/procmail.log
PATH="/usr/bin:$PATH"
SHELL=/bin/sh

그 외 자질구레한 설정들은 알아서 하시리라 믿고 긴 설명 안하려 한다.

 

설정 옵션을 추가 해 줬으면 당연히 데몬들을 재시작 해 주자.

 

#> service sendmail restart

#> servide dcc restart

#> service spamassassin restart

 

그런 다움에 계정 홈디렉토리로 가서 확인 해 보자.

#> ll -al /home/ddong

procmail.log

#> cat procmail.log

.................................

.................................

procmail: Couldn't create or rename temp file "/var/spool/mail/spam/"

..................................

만약 이런 메세지가 보인다면 퍼미션 문제인 것이다.

 

#> chmod 777 /var/spool/mail/spam

 

필자는 메세지가 발생하여 확인 해 보니 디렉토리 퍼미션이 755 이었음을 확인하였고, 그걸 777로 퍼미션 변경을 하고 나니

var/spool/mail/spam 디렉토리로  스팸이 걸러지면서   msg.pYqD   파일의 형태로 쌓이더라고....

 

 

다음의 내용은  연관해서 계정 홈에 기록된 procmail.log 에러 메세지 기록이다.

 

#> cat procmail.log

 

procmail: Lock failure on "spamassass.lock"
Jun 18 21:39:28.656 [11667] warn: pyzor: check failed: internal error, python traceback seen in response
From gztplyplltgle@hanmir.net  Mon Jun 18 21:39:18 2012
 Subject: [*SPAM*] 저녁에 시간되는 오빠 지금연락주세요
  Folder: /var/spool/mail/spam/msg.pYqD 

 

 

이 글 작성하는데 머리가 깨지라고 함.  역시 어렵다.

 

 

 

 

 

   

  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