postfix 問題處理 scan_dir_push: open directory defer: Permission denied

今天 postfix 出現錯誤訊息

scan_dir_push: open directory defer: Permission denied

重新啟動 postfix 會出現錯誤
參考 http://wiki.shsh.ylc.edu.tw/index.php/MailServer

是權限的問題

如果有這種錯誤訊息

Dec 1 17:54:57 passion postfix/postsuper[1024]: fatal: scan_dir_push: open directory defer: Permission denied 


就代表檔案權限設定有問題,請 chown -R postfix /var/spool/postfix


觀察原來的權限 擁有者是 root   root  而非  postfix

更改擁有者為 postfix 後, 目前可以啟動
先記下來

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