郵件服務器啓動postfix時的問題:啓動 postfix: [失敗]

 

[root@linux115 spool]# service postfix start
啓動 postfix: [失敗]

[root@linux115 log]# postfix start
postsuper: fatal: scan_dir_push: open directory defer: Permission denied
postfix/postfix-script: fatal: Postfix integrity check failed!
[root@linux115 log]# postfix check
postsuper: fatal: scan_dir_push: open directory defer: Permission denied

查看日誌文件:(more /var/log/maillog)
有如下兩行:
May 26 09:01:51 linux115 postfix/postsuper[6199]: fatal: scan_dir_push: open directory defer: Permission denied
May 26 09:01:52 linux115 postfix/postfix-script[6200]: fatal: Postfix integrity check failed!


問題原因:
那是/var/spool/postfix 這個目錄擁有都權限的問題,原來默認的擁有都是root,需要將擁有者改爲postfix,如(1)


解決命令:
(1)
[root@linux115 spool]# chown -R postfix /var/spool/postfix/

[root@linux115 spool]# service postfix start
啓動 postfix: [確定]

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章