各位大人好,小弟目前遇到一個問題,就是迴響後收不到自動通知的mail......
環境是 FC3 + mysql-3.23.58-16.FC3.1 + httpd-2.0.53-3.3 + php-4.3.11-2.8 + gd-2.0.28-1.30.1 使用php mail()...
但當有人迴響後,在server的 maillog 裡都會有如下的錯誤訊息..... Dec 23 15:21:58 test sendmail[2276]: jBN7LwVf002276: SYSERR(apache): collect: Cannot write ./dfjBN7LwVf002276(bfcommit, uid=48, gid=51): Permission denied Dec 23 15:21:58 test sendmail[2276]: jBN7LwVf002276: from=apache, size=704, class=0, nrcpts=1, relay=apache@localhost Dec 23 15:21:58 test sendmail[2276]: jBN7LwVf002276: 0: fl=0x0, mode=10600: FIFO: dev=0/5, ino=490769, nlink=1, u/gid=48/48, size=0 Dec 23 15:21:58 test sendmail[2276]: jBN7LwVf002276: 1: fl=0x1, mode=20666: CHR: dev=0/13, ino=1660, nlink=1, u/gid=0/0, size=0 Dec 23 15:21:58 test sendmail[2276]: jBN7LwVf002276: 2: fl=0x2, mode=20666: CHR: dev=0/12, ino=170, nlink=1, u/gid=0/0, size=0 Dec 23 15:21:58 test sendmail[2276]: jBN7LwVf002276: 3: fl=0x2, mode=140777: SOCK localhost->[[UNIX: /dev/log]] Dec 23 15:21:58 test sendmail[2276]: jBN7LwVf002276: 4: fl=0x1, mode=20666: CHR: dev=0/13, ino=1660, nlink=1, u/gid=0/0, size=0 Dec 23 15:21:58 test sendmail[2276]: jBN7LwVf002276: SYSERR(apache): queueup: cannot create queue file ./qfjBN7LwVf002276, euid=48, fd=-1, fp=0x0: Permission denied ................. /var/mail 的權限是 775,雖說permission denied,但是看了很久,仍然不知所以然,知那裡有問題,各位大大,可以給個方向嗎! 感謝
|