Archive

Archive for the ‘postfix’ Category

postfix permission denied

January 24, 2012 1 comment

Issue:

1. Joomla create user error according to email

2. /var/log/httpd/error_log

sendmail: fatal: chdir /var/spool/postfix: Permission denied

Solution:

1. Verify postfix running:

# service postfix status

2. Check httpd sendmail permission

# getsebool httpd_can_sendmail

Returned:

httpd_can_sendmail --> off

3. Turn permission on

# setsebool httpd_can_sendmail 1

4. Turn permission on permanently, even reboot

# setsebool -P httpd_can_sendmail 1

 

Categories: email, postfix