Re: sendmail and SELinux

"Chris Vlad" <[email protected]> Thu, 16 Jun 2016 09:21:38 -0500
Newsgroups gmane.mail.cgatepro.general
Message-ID <[email protected]>
Also, I forgot to mention  httpd_can_sendmail is “on” 
Chris V.

From: Chris Vlad 
Sent: Thursday, June 16, 2016 9:19 AM
To: CommuniGate Pro Discussions 
Subject: sendmail and SELinux

Hello Support,
I ran CGP on the same box centos 7 with a php application and when SELinux is enabled I can’t send emails from php through sendmail replacement from CGP. 
The config in php.ini is fine and the appropriate link has been created in /usr/sbin/sendmail=> /opt/CommuniGate/sendmail, the context of the /opt/CommuniGate/sendmail is “sendmail_exec_t” just like the original application sendmail.postfix . I think it maybe another SELinux context I am missing , probably related to the new path where sendmail is now. 
If anyone can point me in the right direction, I really appreciate it.