• Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Notifications → Email
  • Assigned To No-one
  • Operating System Linux
  • Severity Medium
  • Priority Very Low
  • Reported Version 1.0-rc
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray
Opened by jleclerc - 14.02.2017

FS#2343 - Notification mail

Good Morning,

I have this message error when I want configure SMTP Server :
Completely unexpected exception: Connection could not be established with host [Permission denied #13]
This should never happend, please inform Flyspray Developers

My flyspray installs on CentOS v7. Postfix installs on the server but I don’t configure anymore.

Can you help me please


Project Manager

I assume is the address of another server, not the IP of the server with Flyspray?

Maybe this?

I googled Permission denied #13 and this is the first hit:

(13)Permission denied: proxy: HTTP: attempt to connect to (localhost) failed
This error is not really about file permissions or anything like that. What it actually means is that httpd has been denied permission to connect to that IP address and port.
The most common cause of this is SELinux not permitting httpd to make network connections.
To resolve it, you need to change an SELinux boolean value (which will automatically persist across reboots). You may also want to restart httpd to reset the proxy worker, although this isn't strictly required.
# setsebool -P httpd_can_network_connect 1
For more information on how SELinux can affect httpd, read the httpd_selinux man page.

It seems CentOS v7 changelog ( ) tells something about SELinux changes:

Known issues
SElinux received major changes in this release, which might break certain functionality on your system.

My problem is solved. I have just typed this command line : setsebool -P httpd_can_network_connect 1
Then I tested the mail notification on flyspray and I received the mail in my mailbox.
In the case SMTP server I typed the FQDN ( of my mail server.

Thank you so much for your help !


Available keyboard shortcuts


Task Details

Task Editing