Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Roundcube to connect to IMAP server #289

Open
stijneikelboom opened this issue Jun 23, 2024 · 1 comment
Open

Allow Roundcube to connect to IMAP server #289

stijneikelboom opened this issue Jun 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@stijneikelboom
Copy link

Is your feature request related to a problem? Please describe.
After the conversion, it is impossible to log in to Roundcube Webmail. The error indicates that the connection to the IMAP server failed.

It turns out this is because SELinux is blocking outbound network connections from httpd.

Describe the solution you'd like
Set the httpd_can_network_connect boolean to True during the conversion, or apply a more specific policy change if feasible.

Describe alternatives you've considered
Manually change the SELinux boolean after the conversion.

setsebool -P httpd_can_network_connect 1
@stijneikelboom stijneikelboom added the enhancement New feature or request label Jun 23, 2024
@SandakovMM
Copy link
Collaborator

From what I understand, httpd_can_network_connect is true by default. So, it is usually changed manually.
I would prefer not to alter any SELinux settings manually changed before conversion process, because this might be unexpected for the administrator and could affect the security policy
However, we could add a pre-check to the conversion process. This pre-check would verify if httpd_can_network_connect is true. If it is not, a warning message could be displayed to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants