* queue-fix로 권한조정
[[email protected] src]# wget http://rpm.lhb.kr/mail/qmail/lib/queue-fix-patch-1.4.tar.z
[[email protected] src]# cd queue-fix-1.4/
[[email protected] queue-fix-1.4]# make
[[email protected] queue-fix-1.4]# cp queue-fix /var/qmail/bin/
[[email protected] queue-fix-1.4]# cd /var/qmail/bin

* qmail 중지후 실행
[[email protected] bin]# /etc/init.d/qmail stop
Stopping qmail: svscan qmail logging.
[[email protected] bin]# ll /var/qmail/queue/
total 36
drwx------  2 root qmail 4096 Oct 16 14:25 bounce/
drwx------  25 root qmail 4096 Oct 27  2006 info/
drwx------  2 root qmail 4096 Oct 16 17:05 intd/
drwx------  25 root qmail 4096 Oct 27  2006 local/
drwxr-x---  2 root qmail 4096 Oct 27  2006 lock/
drwxr-x---  25 root qmail 4096 Oct 27  2006 mess/
drwx------  2 root qmail 4096 Oct 16 17:05 pid/
drwx------  25 root qmail 4096 Oct 27  2006 remote/
drwxr-x---  2 root qmail 4096 Oct 16 17:05 todo/
[[email protected] bin]# ./queue-fix -i /var/qmail/queue
It looks like some permissions are wrong, should I fix them? (Y/n)
y
Changing ownership of [/var/qmail/queue/] to uid 505 gid 502
Changing ownership of [/var/qmail/queue/info] to uid 507 gid 502
..중략...
Changing ownership of [/var/qmail/queue/lock/tcpto] to uid 506 gid 502
Changing ownership of [/var/qmail/queue/lock/trigger] to uid 507 gid 502
queue-fix finished...
[[email protected] bin]# ll /var/qmail/queue/          
total 36
drwx------  2 qmails qmail 4096 Oct 16 14:25 bounce/
drwx------  25 qmails qmail 4096 Oct 27  2006 info/
drwx------  2 qmailq qmail 4096 Oct 16 17:05 intd/
drwx------  25 qmails qmail 4096 Oct 27  2006 local/
drwxr-x---  2 qmailq qmail 4096 Oct 27  2006 lock/
drwxr-x---  25 qmailq qmail 4096 Oct 27  2006 mess/
drwx------  2 qmailq qmail 4096 Oct 16 17:05 pid/
drwx------  25 qmails qmail 4096 Oct 27  2006 remote/
drwxr-x---  2 qmailq qmail 4096 Oct 16 17:05 todo/
2013/04/02 14:08 2013/04/02 14:08

트랙백 주소 :: 이 글에는 트랙백을 보낼 수 없습니다