![]() ![]() ![]() SquirrelMail is available in the Ubuntu repositories, so we can install it with: sudo apt-get install squirrelmail Squirrelmail imsa update# Since SquirrelMail is accessed through a web server (Apache in this example), we need a virtual host configuration file to let the web server know where to display files from. In this section we will take the default configuration file from SquirrelMail, move it to the Apache directory, and configure it for use on our system. SquirrelMail provides a default configuration file for Apache in /etc/squirrelmail/nf. # access to configtest is limited by default to prevent information leak order deny,allowĭeny from all allow from 127.0.0.1 # users will prefer a simple URL like DocumentRoot /usr/share/squirrelmail ServerName php_flag register_globals off DirectoryIndex index.php Edit the IP and ServerName to match your Linode and/or domain settings: sudo nano /etc/apache2/sites-available/squirrelmailĪlias /squirrelmail /usr/share/squirrelmail Options FollowSymLinks Copy this configuration file into your sites-available folder with the command: sudo cp /etc/squirrelmail/nf /etc/apache2/sites-available/nfĮdit the configuration file to uncomment the block by removing the pound symbol ( #), as shown below. # redirect to https when available (thanks # Note: There are multiple ways to do this, and which one is suitable for # your site's configuration depends. Consult the apache documentation if # you're unsure, as this example might not work everywhere. # RewriteEngine on # RewriteCond % !^on$ # RewriteRule. ![]() ![]() Reload Apache with the following command: sudo service apache2 reload If you’re running Apache solely for SquirrelMail, you may still want to remove the default virtual host from sites-enabled.Īdd a symbolic link to this file in the sites-enabled folder: sudo ln -s /etc/apache2/sites-available/squirrelmail /etc/apache2/sites-enabled/ If Apache is serving other virtual hosts you may need to adjust them and/or this file to prevent any conflicts. You should now be able to see SquirrelMail’s default login page in your browser after navigating to your Linode’s IP address:īefore using SquirrelMail for the first time, it needs to be configured to access your mail server. Launch the squirrelmail-configure application with the command: sudo squirrelmail-configure SquirrelMail provides a tool called squirrelmail-configure, which provides an interactive interface which edits the /etc/squirrelmail/config.php file for you with the input you provide. There are many options to adjust here too many for the scope of this guide. Press 2 to bring up the Server Settings submenu: The only settings required to make SquirrelMail work are the Server Settings. If your mail server is on the same Linode as your SquirrelMail installation, you may not need to make any adjustments to the default settings. When done, press S to save your changes before exiting the menu by pressing Q to quit.Īt this point you should be able to log in to the SquirrelMail Login page using your email credentials.Arabic, Bahasa Indonesia, Bahasa Melayu, Bangladeshi Bengali, Basque, Brazilian Portuguese, British, Bulgarian, Catalan, Chinese Simplified, Chinese Traditional, Croatian, Czech, Danish, Dutch, Estonian, Faroese, Finnish, French, Frisian, Georgian, German, Greek, Hebrew, Hungarian, Icelandic, Indian Bengali, Italian, Japanese, Khmer, Korean, Latvian, Lithuanian, Macedonian, Norwegian Bokmål, Norwegian Nynorsk, Persian, Polish, Portuguese, Romanian, Russian, Russian Ukrainian, Serbian, Sinhala, Slovak, Slovenian, Spanish, Swedish, Tagalog, Tamil, Thai, Turkish, Uighur, Ukrainian, Vietnamese, Welsh You can find additional configuration tips for this section from SquirrelMail’s official documentation Otherwise, adjust the Domain, IMAP, and SMTP settings to match the mail server you want to connect to. ![]()
0 Comments
Leave a Reply. |