plesk / centos2alma

CentOS 7 to AlmaLinux 8 conversion tool
Apache License 2.0
36 stars 7 forks source link

Allow Roundcube to connect to IMAP server #289

Open stijneikelboom opened 2 weeks ago

stijneikelboom commented 2 weeks ago

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