2014年6月28日 星期六

Posftix Permission denied problem

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:
1sendmail: 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:
1httpd_can_sendmail --> off
Problem was solved by
1setsebool httpd_can_sendmail 1

沒有留言:

張貼留言