http://www.spidersoft.com.au/2011/posftix-permission-denied-problem/
After investigation
tail -f /var/log/messages
I founded a pleasant line of code with really nice explanation:1 | sendmail: fatal: chdir /var/spool/postfix: Permission denied |
In theory this should be a problem for sysadmin, but – I wanted to find faster solution.
After short adventure with Google I found a clue:
1 | /usr/sbin/getsebool httpd_can_sendmail |
My result was obvious:
1 | httpd_can_sendmail --> off |
Problem was solved by
1 | setsebool httpd_can_sendmail 1 |
沒有留言:
張貼留言