Merge pull request #4117 from kara-1234/patch-2

Allow HTTPD to send Emails
pull/4121/head
Andras Iklody 2019-02-06 16:56:19 +01:00 committed by GitHub
commit bcbee6b03b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -371,6 +371,9 @@ sudo chcon -R -t httpd_sys_rw_content_t /var/www/MISP/app/tmp
# Allow httpd to connect to the redis server and php-fpm over tcp/ip
sudo setsebool -P httpd_can_network_connect on
# Allow httpd to send emails from php
sudo setsebool -P httpd_can_sendmail on
# Enable and start the httpd service
sudo systemctl enable httpd.service
sudo systemctl start httpd.service