[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

SELinux preventing mail on Openshift Origina Fedora 19.



So, i have an OO running, on fedora 19. 

I have a wordpress app running, with a contact form. 

Whenever the contact from is used, the message is not sent.  The error returned is permission denied (in /var/log/maillog). 

If i setenforce 0, it works, this is obviously not a fix, just troubleshooting.  So selinux appears to be the issue. 

Fedora was, for some reason, using sendmail rather than postfix, so i tried switching to postfix, this didnt help. 

The error in maillog with postfix is: 
Dec 22 00:22:21 strife postfix/sendmail[25834]: fatal: chdir /var/spool/postfix: Permission denied

While sendmail looks like this: 
Dec 22 00:08:51 strife sendmail[21105]: NOQUEUE: SYSERR(529f36b7516de23ea3000002): can not chdir(/var/spool/clientmqueue/): Permission denied

I've tried the usual troubleshooting.  Restorecon'd on the given directory, tried sealert on /var/log/audit/autit.log.  Nothing seems to be pointing me in the right direction. 

How can i allow contact forms in my apps?

Thanks!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]