If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide
The Complete Linux System Administrator Bundle
Become an Ethical Hacker Bonus Bundle

You may also like...

22 Responses

  1. chardo says:

    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. Johann says:

    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.

  3. Pierre Colart says:

    I have a 502 bad gateway when i tried to go to mail.example.com/installer.

    • Aaron Kili says:


      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.

  4. Bipin says:


    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…

  5. Anton says:

    Hello, I have a question. Why exactly Nginx? Why not Apache?

  6. Zainab says:

    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.

  7. Balbaki Moussa says:

    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..

    • Aaron Kili says:


      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.

  8. Andrea says:

    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.

    • Ravi Saive says:


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

  9. Philip Rhoades says:

    A nice summary! I made my own preferential changes and installed Fedora RPMs but otherwise it was good!


Leave a Reply to Pierre Colart Cancel reply

Your email address will not be published. Required fields are marked *

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