23 thoughts on “How to Install Roundcube Webmail on CentOS/RHEL 8/7”

  1. When import the roundcube table layout to the newly created database:

    # cd /var/www/html/roundcubemail/
    # mysql -u root -p roundcubemail < SQL/mysql.initial.sql

    I get error -bash: SQL/mysql.initial.sql: No such file or directory

    Can anyone help me?

  2. Anyone has seen this and knows how to go around?

    Something has triggered a missing webpage on your website. This is the default 404 error page for nginx that is distributed with Fedora. It is located /usr/share/nginx/html/404.html

    You should customize this error page for your own site or edit the error_page directive in the nginx configuration file /etc/nginx/nginx.conf.

    • @Pierre

      This means that either:

      Nginx can’t connect with the upstream server, the PHP-FPM process, so check this fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; in your server block config.

      OR the HTTP service port 80 or HTTPS(443) is blocked in firewall.

      Try to view the Nginx logs: /var/log/nginx/error.log using cat or tail command.

  3. Hi,

    On my server Postfix (SMTP) and roundcube (IMAP) is install and running properly, but at certain instant of time ( say 1 in 50 attempts) when a user login to webmail (roundcube) then it show a error of “no input file” what could be the problem?

    Can anyone give me complete guide, how can i resolve this problem…

  4. Reference Step 5. Unable to access http://mail.example.com/installer. I configured nginx.conf to use /var/www/html/ but i am getting 403 forbidden.

  5. Hi ! thank for all.

    I have problem when i try to open mail.exemple.com from mozilla show that the site not exist.

    Help me please..

    • @Balbaki

      Ensure that you have created a Nginx server block for the Roundcube under /etc/nginx/conf.d/ and configured it very well to serve requests using the address mail.example.com.

  6. Very helpful thanks

    If you can please correct the typo: listen = /var/run/php/php-fpm.sock — should be: listen = /var/run/php-fpm/php-fpm.sock as php-fpm did not start for me otherwise.

    • @Andrea,

      Thanks for notifying that typo, yes it should be listen = /var/run/php-fpm/php-fpm.sock as php-fpm, corrected in the article.


Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.