삭제하거나 메일로그에 아래와 같은 에러가 날 경우 큐디렉토리를 재성해주면 된다.
Nov 21 08:17:04 mail4 qmail: 1227223024.310137 warning: trouble opening remote/3/114704; will try again later
Nov 21 08:17:09 mail4 qmail: 1227223029.310112 warning: trouble opening remote/7/114708; will try again later
Nov 21 08:17:16 mail4 qmail: 1227223036.310032 warning: trouble opening remote/21/114699; will try again later
Nov 21 08:17:25 mail4 qmail: 1227223045.309963 warning: trouble opening remote/3/114704; will try again later
Nov 21 08:17:30 mail4 qmail: 1227223050.309918 warning: trouble opening remote/15/114693; will try again later
Nov 21 08:17:30 mail4 qmail: 1227223050.309964 warning: trouble opening remote/15/114693; will try again later
Nov 21 08:17:33 mail4 qmail: 1227223053.309913 warning: trouble opening remote/15/114693; will try again later
Nov 21 08:17:37 mail4 qmail: 1227223057.309891 warning: trouble opening remote/15/114693; will try again later
qamil의 큐 디렉토리 전체를 지웠다가 다시 만들고자 할때 queue-fix를 사용한다.
패치된 파일 => 파일 다운로드(클릭)
9315258387.z
1. 설치하기
tar xvfpz queue-fix-patch-1.4.tar.z
cd queue-fix-1.4
make
설치완료
queue 디렉토리를 재성성 하기전에 큐메일 프로세스들을 모두 정지 시키고 큐 디렉토리를 삭제하고 큐 디렉토리를 재생성한다.
2. queue 디렉토리 재생성하기
rm -rf /var/qmail/queue
./queue-fix -i /var/qmail/queue
# 이런 문구가 나온다. y 입력후 엔터
It looks like some directories don’t exist, should I create them? (Y/n)
y
It looks like some files don’t exist, should I create them? (Y/n)
y
queue-fix finished… 하며 끝난다.
- HOME
- LINUX